mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
pv: add timer example (#23607)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
@@ -30,3 +30,7 @@
|
||||
- Calculate hash (MD5, SHA1, SHA256, etc) of a large file and show progress:
|
||||
|
||||
`pv {{path/to/file}} | {{sha256sum}}`
|
||||
|
||||
- Only display a timer for how long a command has taken to run:
|
||||
|
||||
`{{command}} | pv {{[-t|--timer]}}`
|
||||
|
||||
Reference in New Issue
Block a user