Frequent Question: How Do I Change the Date in Linux Terminal?
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...
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.
Must Read
How do I change the date in Ubuntu terminal?
Using the command line, you can use sudo dpkg-reconfigure tzdata.
- Open a terminal window by going to Applications>Accessories>Terminal.
- sudo dpkg-reconfigure tzdata.
- Follow the directions in the terminal.
- The timezone info is saved in /etc/timezone – which can be edited or used below.