27 views
#Getting tomorrow's date in bash script or in Linux command prompt
date --date="next day"     # Example: Sat Jan  2 00:05:45 EST 2010 

--date string can be given in English readable text format such as "next friday" will return the date for next Friday

date --date="next friday" # Example: Fri Jan  8 00:00:00 EST 2010

Another interesting command to in Linux is cal, look at bash command line calendar it's usage:

[root@askdevops ~]# cal
January 2010
Su Mo Tu We Th Fr Sa
                1  2
 3  4  5  6  7  8  9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Oct 4, 2010 by | 27 views
Articles for DevOps Geeks
MobaXterm Customization
CHMOD Explained!
Bash history powerful tips
Ubuntu bash from Windows
..