I have completed the small task using the shell script which gives you knowledge of a few commands:-
Shell Script Points:-
Enter your name to know the user details
Username
Current date and time
Disk Space availability
Total and available RAM
Show top CPU processes
- Add more commands if you know
** To display the current user we use $whoami command
** Command which shows current date and time is $date
** Using "df -H" command you know about disk space information
** To know about RAM information we have to use $free command.
Top 5 CPU processes:-
*Mini Project Shell Script*
OutPut:-