Linux Shell Scripts for Module 2 of Operating Systems Lab of Second Year Artificial Intelligence & Data Science (Mumbai University)
git clone https://github.com/Welding-Torch/linuxshellscript.git
cd linuxshellscript
chmod 755 1.sh
./1.sh
Follow this procedure for each Shell Script.
Tip: The shorthand 755 is often used for scripts as it allows you the owner to write or modify the script and for everyone to execute the script.
1.sh - Display OS version, release number, kernel version.
2.sh - Display top 10 processes in descending order
3.sh - Display processes with highest memory usage.
4.sh - Display current logged in user and log name.
5.sh - Display current shell, home directory, operating system type, current path setting, current working directory.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.