1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 21:06:00 +02:00

xclock: add page (#4224)

Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
trk 2020-07-28 20:31:18 +06:00 committed by GitHub
parent e197e34336
commit 37ec59449a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
pages/linux/xclock.md Normal file
View file

@ -0,0 +1,23 @@
# xclock
> Display the time in analog or digital form.
- 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`