I have installed a Linux machine without GUI. Please let me know how can I set the time on the command prompt? I can only log in to it by using SSH.
I have installed a Linux machine without GUI. Please let me know how can I set the time on the command prompt? I can only log in to it by using SSH.
A. You can use the date command to set the time if you are not using NTP or you are not connected to the Internet. You can set date and time manually using the following command from the shell prompt' as root:where 20 is hours, 13 is minutes and 10 is seconds. You can use %p if you want to set time in AM or PM format.
Bookmarks