Files
cheatsheet-tldr/tldr/fortune

34 lines
534 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# fortune
> Print a random quotation (fortune-cookie style).
> More information: <https://manned.org/fortune>.
- Print a quotation:
`fortune`
- Print an offensive quotation:
`fortune -o`
- Print a long quotation:
`fortune -l`
- Print a short quotation:
`fortune -s`
- List the available quotation database files:
`fortune -f`
- Print a quotation from one of the database files listed by `fortune -f`:
`fortune {{path/to/file}}`