Name

xclock [options] — XFree86-tools

Synopsis

/usr/X11R6/bin stdin stdout - file -- opt --help --version

The xclock command displays a simple, graphical clock in an X window. If you prefer a different style, there are other clock programs included, such as oclock (round), t3d (3-D bouncing balls, located outside your search path in /usr/X11R6/lib/xscreensaver/t3d), and the taskbar clocks displayed by GNOME and KDE.

Useful options

-analog

An analog clock with hands.

-digital [-brief]

A digital clock with full date and time; add -brief to show only the time.

-update N

Update the time display every N seconds.

Get Linux Pocket Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.