Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "Please enter Student ID"
- read ID
- echo "Please enter Last Name"
- read LN
- echo "Please enter First Name"
- read FN
- echo "Please enter Middle Initial"
- read MI
- echo "Please enter Age"
- read A
- echo "Do you want to:"
- echo "1. Display Student ID, First and Last name only"
- echo "2. Display only captured information only"
- echo "3. Diplay terminal-related information only"
- echo "4. Display lucky number for today"
- echo "5. Exit"
- echo "Please enter the number of your choice:"
- echo
- echo ...
- echo
- echo *****************
- read x
- case "$x" in
- 1) echo "-----------------------"
- echo "Current User's Profile"
- echo "-----------------------"
- echo "Student ID: $ID"
- echo "Full Name: $LN, $FN, $MI" ;;
- 2)
- echo "-----------------------"
- echo "Current User's Profile"
- echo "-----------------------"
- echo
- echo "Student ID: $ID"
- echo "Full Name: $LN, $FN, $MI"
- echo "Age: $A" ;;
- 3)
- echo "You are currently logged in as $y and your current directory is" pwd ;;
- 4)
- echo "You lucky number for today" date echo "is $r" ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement