<span style="font-family: "Arial","sans-serif"; font-size: 11.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: Mangal; mso-bidi-language: HI; mso-fareast-font-family: "Arial Unicode MS"; mso-fareast-language: HI; mso-font-kerning: .5pt;">until \[ “$selection” -eq “0” \]; do
echo ” Program Menu “
echo ” 1. Display Free disk space “
echo ” 2. Display Free memory “
echo ” 3. Disk Usage “
echo ” 4. List Your Processes “
echo ” 5. Who is connected to the system? “
echo ” 0. Exit “
read selection
case $selection in
1 ) df
;;
2 ) free
;;
3 ) du
;;
4 ) ps
;;
5 ) who
;;
0 ) exit
;;
\* ) echo ” Please enter correct choice “
esac
done</span><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: Mangal; mso-bidi-language: HI; mso-fareast-font-family: "Arial Unicode MS"; mso-fareast-language: HI; mso-font-kerning: .5pt;">
</span>
Leave a comment