Linux or FreeBSD command to display system time and date

last updated in Categories ,

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, 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.

1 comment

  1. hi,
    my system two inbulit nic card 1000Mbs showing one niccard. my os is Free BSD ifconfig -a showing em0 only, onther nic card not showing plz help me this os

    Have a question? Post it on our forum!