6135 links
GuiGui's Show
Home
Login
RSS Feed
ATOM Feed
Tag cloud
Picture wall
Daily
Links per page:
20
50
100
UNIX man pages : date ()
Ho, très utile l'argument « -d » : display time described by STRING, not 'now'.
$ date ; date -d "1 month" ; date -d "-1 min"
Thu Mar 19 15:05:51 CET 2015
Sun Apr 19 16:05:51 CEST 2015
Thu Mar 19 15:04:51 CET 2015
Application : créer un fichier vieux d'une semaine : touch -d "`date -d "-1 week"`" test
March 19, 2015 at 3:04:14 PM UTC
- permalink
-
http://unixhelp.ed.ac.uk/CGI/man-cgi?date
Links per page:
20
50
100