some unix shell command

Example: to get system date for n minute ago in format like “26-Aug-2013 11:04” , can write:

date +’%d-%b-%Y %H:%M’ -d ‘1 minute ago’

 

if [];
then

do sth.

fi