Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Este script muestra un Saludo junto con la Fecha y Hora
- nombre="Usuario"
- echo -e "Hola, $nombre!\n\n**¡Bienvenido a tu Sistema Operativo Linux!**"
- # Imprime la fecha y hora actual
- fecha=$(date +"%d/%m/%Y")
- hora=$(date +"%H:%M:%S")
- echo "Fecha: $fecha"
- echo "Hora: $hora"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement