Shell Programming 1

Program :-
echo "1 - who am i ?"
echo "2 - who is logged on ?"
echo "3 - date"
echo "4 - calendar"
echo "Enter your choice: "
read n
case $n in
1) who am i ;;
2) who ;;
3) date ;;
4) cal ;;
esac

Post a Comment

0 Comments