The Most Important Useful Bash Scripts for Linux System Administrator. The Daily task for every Linux system administrators is to open the Terminal and type the same repeated commands to accomplish the system administrator task for everyday usages. This Bash scripts make life simpler of Linux System Admin to accomplish day to day task with ease. Thanks to Developer of this Bash Scripts that makes daily System Administrator Task more easier than ever.
The Given tasks are performed while using this Scripts.
- Linux Operating system Informations
- Hostname and DNS Informations
- Network Informations
- Who is online
- Last logged in users
- Free and used memory Informations
- Get my IP address
- My Disk Usage
- Process Usage
- Users Operations
- File Operations
Script for Linux System Administrator
Step-1 (Download the Bash Scripts)
# wget https://github.com/sathisharthar/Admin-Scripts/blob/master/sysinop
Step-2 (Run the Bash Scripts)
# bash sysinop OR # sh sysinop
Step-3 (Check the output results of scripts)
It shows the given Menu
1. Operating system info
It shows which operating system you are used on host Linux Distro.
2. Hostname and dns info
It shows host name and other DNS and IP related informations
3. Network info
It shows all NIC related information as wellas shows the public and Private IP related informations
4. Who is online
It shows Which User accounts are accessing the Internet on host and other users.
5. Last logged in users
It Shows history of login records for your PC the users are login during the usages.
6. Free and used memory info
It shows all the memory devices currently attached to your PC and statistics of Free and used memory informations in tabular formats.
7. Get my ip address
It shows what is your public IP address.
8. My Disk Usage
It shows the disk usages in percentage for all your partitions
9. Process Usage
In Process Usage following menu is appear like this and used for process administration for sysadmin
1. Show all processes
It shows all running process running on your PC.
2. Kill a process
It allows you to kill process by using the PIDs.
3. Bring up top
It allows you to execute the top command
4. Return to Main Menu
It uses to return back to Main Menu
5. Shut down
It uses to perform halt to your PC
10. Users Operations
In Users Operations following menu is appear like this and used for user administration for sysadmin
1. Create a user
It is used for creating normal users with ease
2. Change the group for a user
It is used to change the group for ever
3. Create a group
It is used to make a new group for users
4. Delete a user
It is used to remove a user
5. Change a password
It is used to change the password of super and normal users
6. Return to Main Menu
It uses to return back to Main Menu
7. Shut down
It uses to power off your PC.
11. File Operations
In File Operations following menu is appear like this and used for file and basic administration for sysadmin
1. Create a file
It used to creates file with any extensions
2. Delete a file
It used to deletes any files
3. Create a directory
It creates any directory with ease
4. Delete a directory
It deletes a directory with ease
5. Create a symbolic link
It create the short link within with symbolic links of files anywhere
6. Change ownership of a file
It change the file ownership to anyone within this commands
7. Change permissions on a file
It changes files permissions of files with read , write and execute permissions
8. Modify text within a file
It modify and replaces text with new one
9. Compress a file
It is used to compress the files best for reduced size of files
10. Decompress a file
It is used to decompress the compressed files
11. Return to main menu
It uses to go back to Main Menu
12. Shut down
It is used to turn off you PC
Thats all now you have used the most important bash scripts for the Linux system administration. This make complex Linux commands into easy script that is easy to run. If you have any queries regarding to this script you can use the comment section below.