Linux Set Date and Time From a Command Prompt


#1

Originally published at: https://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/

How can I set the system date and time from the command prompt (bash shell)? I don’t have GUI installed and I am login over ssh session. How can I set date under Linux operating systems?