How will you display the current date and time using Unix command?

How will you display the current date and time using Unix command?
Answer
The
date command
under UNIX displays date and time. You can use the same command set date and time. You must be the super-user (root) to change the date and time on Unix like operating systems. The date command shows the date and time read from the kernel clock.
 

Tìm kiếm

Back
Top