mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 04:41:47 +00:00
22 lines
594 B
Plaintext
22 lines
594 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# chronic
|
|
|
|
> Display `stdout` and `stderr` of a command if and only if it fails.
|
|
> More information: <https://joeyh.name/code/moreutils/>.
|
|
|
|
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-zero exit code or crashes:
|
|
|
|
`chronic {{command options ...}}`
|
|
|
|
- Display `stdout` and `stderr` of the specified command if and only if it produces a non-empty `stderr`:
|
|
|
|
`chronic -e {{command options ...}}`
|
|
|
|
- Enable [v]erbose mode:
|
|
|
|
`chronic -v {{command options ...}}`
|