User Tools

Site Tools


informatique:linux:commandes_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
informatique:linux:commandes_linux [2020/01/03 10:54] – [sed] pteuinformatique:linux:commandes_linux [2020/01/07 15:09] – [date] pteu
Line 422: Line 422:
 <code bash> <code bash>
 # Pour afficher la date au format YYYY/MM/JJ-HH:MM:SS : # Pour afficher la date au format YYYY/MM/JJ-HH:MM:SS :
-date +%Y/%m/%d-%H:%M:%S +date "+%Y/%m/%d %H:%M:%S" 
-2009/06/25-15:07:56+2009/06/25 15:07:56
  
 # afficher le compteur (timestamp) de l'heure actuelle : # afficher le compteur (timestamp) de l'heure actuelle :
-date +%s+date "+%s"
 1441816670 1441816670
  
informatique/linux/commandes_linux.txt · Last modified: 2024/04/05 06:58 by pteu