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?

ADVERTISEMENTS

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

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
1 comment… add one
  • sreenivasulu Sep 17, 2010 @ 4:40

    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

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.