0
votes
1answer
35 views

Adjust Time & Date settings via teminal [duplicate]

How do I adjust the Time & Date manually via terminal (CLI) on Ubuntu 14.04?
1
vote
2answers
54 views

How accurate is epoch time in nanoseconds?

I wish to learn how accurate is the time that is been shown when typing date +%s%N in the terminal. I know this gives us the epoch time in nanoseconds but are the numbers real?. Does it represent ...
5
votes
2answers
471 views

Is there any command to show how much time your ubuntu is on?

is there any command which tells you, how much times you turn on your Ubuntu? For example in 8 AM you turn on ubuntu and at 10 AM you write that command and the result is two hours?
1
vote
1answer
111 views

write a bash which open firefox on every ten minute

Is it possible to write an script which do a specific command every ten minute? I do not know if this is a loop? For example Every ten minute delete a file name foo on the home directory? or every ...
1
vote
1answer
51 views

What does Ubuntu use for getting/setting the time?

There is a way to change Ubuntu's system time in the GUI Date & Time Settings, however, as with most tools, I'm assuming that is just a front-end for one of Ubuntu's command-line tools. What ...
0
votes
1answer
157 views

Refresh Unity UI Time By Command Line

I have a Ubuntu 12.04 desktop virtual machine ran by VMWare and having some issue with the GUI clock/time what ever it is called. The thing in the right corner showing the time. When I put the laptop ...
2
votes
1answer
261 views

Why does running `time` and `/usr/bin/time` give different results?

Why does running time and /usr/bin/time give different results? /usr/bin/time thomas@tbdesktop:~$ /usr/bin/time -f "Elapsed time:%E" wc /etc/hosts 9 25 224 /etc/hosts Elapsed time:0:00.04 time ...
13
votes
2answers
21k views

Where does ntpdate get its settings from and what is the “no servers can be used” error about?

When I run ntpdate on its own, I get the following output: 8 Jun 15:47:46 ntpdate[31251]: no servers can be used, exiting If I run it with the -q ntp.ubuntu.com switch, it seems to query just ...
4
votes
2answers
919 views

Command not found when trying to set a format for the time command

I am trying to get the time it takes to run a command, with the output in a specific format: time -f "%E" ls -l This is similar to the example in the man page (and on the online man page). However ...
3
votes
1answer
406 views