Contents
How do I change the date in Linux?
You can set the date and time on your Linux system clock using the “set” switch along with the “date” command. Note that simply changing the system clock does not reset the hardware clock.
How do I change the date in Unix?
UNIX Date Command Examples and Syntax
- Display Current Date and Time. Type the following command: date. …
- Set The Current Time. You must run command as root user. To set the current time to 05:30:30, enter: …
- Set Date. The syntax is as follows: date mmddHHMM[YYyy] date mmddHHMM[yy] …
- Generating Output. WARNING!