System Grab Bag

View all TLDR pages from Linux (or from all pages)

xclock

Display the time in analog or digital form. More information: https://manned.org/xclock.
  • Display an analog clock:
    xclock
  • Display a 24-hour digital clock with the hour and minute fields only:
    xclock -digital -brief
  • Display a digital clock using an strftime format string (see strftime(3)):
    xclock -digital -strftime {{format}}
  • Display a 24-hour digital clock with the hour, minute and second fields that updates every second:
    xclock -digital -strftime '%H:%M:%S' -update 1
  • Display a 12-hour digital clock with the hour and minute fields only:
    xclock -digital -twelve -brief

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.