hervasiop12345

fecha_hora

Sep 26th, 2011
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.33 KB | None | 0 0
  1. #!/bin/bash
  2. #Description:Muestra la fecha explicando que es cada campo
  3. #Author:jMa
  4.  
  5. echo "Son las `date | tr -s : " " | cut -d " " -f 4` horas,`date | tr -s : " " | cut -d " " -f 5` minutos del día `date | tr -s : " " |
  6. cut -d " " -f 6` de `date | tr -s : " " | cut -d " " -f 7` del año `date | tr -s : " " | cut -d " " -f 8`"
Advertisement
Add Comment
Please, Sign In to add comment