I used the following linux command to display the time date +%T. It displays the current time.
If I want to display the time every one minute which Linux command should I use?
Expected Result:
15:44:26
15:45:26
15:46:26
I used the following linux command to display the time date +%T. It displays the current time.
If I want to display the time every one minute which Linux command should I use?
Expected Result:
15:44:26
15:45:26
15:46:26
There is no specific unix command for this, but this be handled by a bit of shell script.
With bash (the standard shell provided with most Linux distro):
while [ 1 ]; do date "+%T"; sleep 60; done