Skip to content

Instantly share code, notes, and snippets.

@gabrielkfr
Created August 26, 2013 04:46
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save gabrielkfr/6338173 to your computer and use it in GitHub Desktop.
Save gabrielkfr/6338173 to your computer and use it in GitHub Desktop.
Script bash para mostrar la fecha y la hora actual.
#!/bin/bash
DIA=`date +"%d/%m/%Y"`
HORA=`date +"%H:%M"`
echo "Hoy es el $DIA y la hora actual es $HORA!"
@nicomedinap
Copy link

Perfecto para una Bitácora!

@arxzel
Copy link

arxzel commented Aug 14, 2019

Gracias

@Ems737
Copy link

Ems737 commented Aug 24, 2020

Gracias, sigo aprendiendo, saludos!

@psantibanez
Copy link

gracias

@satankaos
Copy link

fantasía

@Dofas1
Copy link

Dofas1 commented Sep 10, 2021

Gracias Maestro!!!!

@jativar
Copy link

jativar commented Sep 6, 2023

Gracias

@ivan1az
Copy link

ivan1az commented Sep 7, 2023

excelente

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment