Introduction
The sysInfo.sh
script is designed to display various system information to the user based on their selection. The script provides a menu for the user to choose from and uses switch case to display the output for the selected option. The information displayed includes currently logged users, shell directory, home directory, OS name and version, current working directory, number of users logged in, available shells in the system, hard disk information, CPU information, memory information, file system information, and currently running process.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
linux(("Linux")) -.-> linux/SystemInformationandMonitoringGroup(["System Information and Monitoring"])
linux(("Linux")) -.-> linux/UserandGroupManagementGroup(["User and Group Management"])
linux(("Linux")) -.-> linux/FileandDirectoryManagementGroup(["File and Directory Management"])
linux/FileandDirectoryManagementGroup -.-> linux/pwd("Directory Displaying")
linux/SystemInformationandMonitoringGroup -.-> linux/uname("System Information Displaying")
linux/UserandGroupManagementGroup -.-> linux/whoami("User Identifying")
subgraph Lab Skills
linux/pwd -.-> lab-18281{{"System Information Displaying Script"}}
linux/uname -.-> lab-18281{{"System Information Displaying Script"}}
linux/whoami -.-> lab-18281{{"System Information Displaying Script"}}
end