print the exact date, one week ago

[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: