Appear for online test on Date and system related QUIZ
The best way to understand date and time of the system is to explore several examples. So, we are exercising some common date commands here:
1.To print the date of the day before yesterday:
date --date='2 days ago'
Prompt:>date -d '2 days ago'
Tue Apr 21 13:55:20 CEST 2015
Prompt:>
...
Read more »