Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while [ opc != 0 ]
- do
- clear
- echo "Menu Principal"
- echo "1] Iniciar SSH"
- echo "2] Iniciar FTP"
- echo "3] Iniciar TFTPD"
- echo "4] Iniciar VNC Server"
- echo "0] Salir"
- echo "Selecciona una opcion:"
- read opc
- case $opc in
- 0)
- exit
- ;;
- 1)
- clear
- echo "Iniciando SSH"
- ;;
- 2)
- clear
- echo "Iniciando SSH"
- ;;
- 3)
- clear
- echo "Iniciando SSH"
- ;;
- 4)
- clear
- echo "Iniciando SSH"
- ;;
- *)
- echo "opción no identificada"
- ;;
- esac
- read key
- done
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment