Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- function menu( )
- {
- cat << EOF
- echo "-----------------------------------------"
- echo "Please choose your options:"
- echo "-----------------------------------------"
- 1)Register User
- 2)Users Details
- 3)Edit User
- 4)Save User
- 5)Change Password
- 6)Print Report
- 7)Quit
- EOF
- read -p "input: "choice
- case $choice in
- 1)
- echo -e "${BLUE}Logging please wait"
- menu
- ;;
- 2)
- echo -e "${GREY}Please check your information"
- menu
- ;;
- 3)
- echo -e "${YELLOW}Please editing your information here"
- menu
- ;;
- 4)
- echo -e "${RED}Information saving"
- menu
- ;;
- 5)
- echo -e "${BLACK}Please enter your new password"
- menu
- ;;
- 6)
- echo -e "${GREEN}Report Printing"
- menu
- ;;
- 7)
- Exit 0
- esac
- }
- menu
- GREY='\033[1;30m'
- RED='\033[0;31m'
- GREEN='\033[0;32m'
- YELLOW='\033[1;33m'
- BLUE='\033[0;34m'
- BLACK='\033[0;35m'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement