Home
Posts Tagged "linux mint ubuntu system admin tips"
A Simple Menu Based Linux Shell Script For Finding Out Network Interfaces Related Information
Jan 24th, 2012 · 1 Comment
Here is a simple menu based Linux shell script that uses mainly the commands “ifconfig” and “uptime” to :
List all the available network interfaces on the system (like wired adapter/eth0, wireless adapter/wlan0 and so on).
List all the information about each of the available network interfaces (like local IP address, subnet mask, if interface is up or down etc.)
Show how...
A Simple Menu Driven Linux Shell Script For Finding Out Computer Name And Other Cool Stuff
May 23rd, 2011 · 1 Comment
Here is a useful bash shell script which uses a menu driven user input and will display the following info :
Your computer name
List of users who have logged in
Total disk space usage
List of files and folders in your home directory.
Think of it as the automated response system (press 1 for A, press 2 for B and so on).
Here is the code (script is named as info.sh) :
#!/bin/bash
# A simple menu...