Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open a terminal

You will want to get need a terminal window open to access the linux Linux system.

  1. Open up

...

  1. PuTTY.

  2. In the default (Session) category, enter the IP address and port 22. Select SSH

...

Single command

If you 3. To update the time without having to find the current time in timestamp format, run the following command you wont have to get the timestamp from anywhere else. This pings google.com and gets the time from the response.

Code Block
sudo date -s "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')"

...

4. To update the time manually, first find the current time in a timestamp format. The current time in timestamp format

...

You can go here to find it,

can be found https://www.epochconverter.com/ or https://www.unixtimestamp.com/

...

You will want to copy . Copy the seconds since Jan 01 1970 from the top area.

Run the update date command

...

Then run the following command which will allow you to set the date on most systems.

...