How to get the date for next week friday or any other day of the week via the command line in Linux?
|
|
|
|
|
Question: How to get the date for next week friday or any other day of the week via the command line in Linux? Answer:Â - Open a new Terminal Window
- Type in the following command
Description:
- date = print or set the system date and time
- -d = display time described by STRING, not `now'
- Replace fri with any day of the week you prefer.
- This will output something similar as below
Fri Aug 6 00:00:00 SAST 2010
|