mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 15:48:46 +00:00
Update cheatsheets
This commit is contained in:
29
linux/xclock
Normal file
29
linux/xclock
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user