Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- OP=z
- #while [ $OP != 'q' ]
- while :
- do
- echo "Menú de opciones:"
- echo "1- Listar usuarios del sistema que puedan iniciar sesión"
- read -p "Ingrese la opción deseada. Presione 'q' para salir: " OP
- case $OP in
- 1) echo "Usuarios del sistema con inicio de sesión habilitado: "; read -p "Presione enter para volver al menú principal"; clear
- ;;
- q) break
- ;;
- *) echo "elija una opcion"
- ;;
- esac
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement