Some funny things about date bash command, expecially while travelling back in time:
Hence, here is the way to get the date of the day three months ago, and three months and three days ago:
1 2 |
|
The conversion 00 –> 01 and 30+1 = 31 or 01 accordingly are automatic!!
And last but not least, here is how one can grep events realized at a special day on log files:
1
|
|
Here is how to translate timestamp from date and vice-versa
1 2 3 4 |
|
And that’s all! Ok, I was not in such a good shape today. Being regular at writing posts already pisses me off.