Created
August 6, 2019 22:59
-
-
Save josephworks/f3b28584bb537c5e9e0d6df2420b729a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# clear the screen | |
tput clear | |
# Move cursor to screen location X,Y (top left is 0,0) | |
tput cup 3 15 | |
# Set a foreground colour using ANSI escape | |
tput setaf 3 | |
echo "XYX Corp LTD." | |
tput sgr0 | |
tput cup 5 17 | |
# Set reverse video mode | |
tput rev | |
echo "M A I N - M E N U" | |
tput sgr0 | |
tput cup 7 15 | |
echo "1. User Management" | |
tput cup 8 15 | |
echo "2. Service Management" | |
tput cup 9 15 | |
echo "3. Process Management" | |
tput cup 10 15 | |
echo "4. Backup" | |
# Set bold mode | |
tput bold | |
tput cup 12 15 | |
read -p "Enter your choice [1-4] " choice | |
tput clear | |
tput sgr0 | |
tput rc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment