Linux or FreeBSD command to display system time and date

Q. How do I display system time and date? How do I make changes to Linux or FreeBSD date?

A. Use date command display or set the system date and time under Linux, FreeBSD or other UNIX like operating systems.

Task: To display date and time

Type date command:
$ dateOutput:

Thu Nov  9 08:05:34 IST 2006

Task: Change date or time

Just follow instruction mentioned in previous article for changing date and time under Linux or FreeBSD

Task: How to stay upto date with network time server

Please see previous articles for time synchronization under Linux or FreeBSD

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.