How to set your date on a linux machine

I have been skimming through a lot of linux books and yet not even one was able to tell me how to set the time. I mean the popular books online. I later found out that the way to set the date is by the following way:

% date -s  “11:58″

By the way you have to be root or else use sudo

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: