[pene@donunix] date +'%Y %m %d' --date '1 week ago'
NB : The output format of this command is : YYYY MM DD (2009 02 10)
print the exact date, one week ago
tags :
shell-script
Subscribe to:
Post Comments (Atom)
Welcome to Don Unix
The main purpose of this blog is to show you some interesting Unix and Linux Tips'n Tricks.
I hope you'll enjoy it
[pene@donunix] date +'%Y %m %d' --date '1 week ago'
NB : The output format of this command is : YYYY MM DD (2009 02 10)
No comments:
Post a Comment