Check Time in Linux

Revision as of 19:28, 19 February 2017 by Kipkis (Kipkis | contribs) (importing article from wikihow)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use the GNU utility, date. Check 'date --help' or 'man date' for all of the options, which are too numerous to list here. With no parameters, this utility will display the day of the week, the month, date, time in hh:mm:ss, the timezone and the year. There are options to customize the default output in dozens of different ways.

Steps

  1. Execute the command date with no parameter's date
    • For example
    • > date
    • Fri Oct 9 08:31:07 MST 2009

Tips

Related Articles