Linux or FreeBSD command to display system time and date

Posted on in Categories , last updated November 9, 2006

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: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

1 comment

Leave a Comment