tldr/pages/common/fortune.md

28 lines
387 B
Markdown
Raw Normal View History

2015-12-23 16:30:24 +03:00
# fortune
> Print a random quotation (fortune-cookie style).
2015-12-23 16:30:24 +03:00
- Print a quotation:
2015-12-23 16:30:24 +03:00
`fortune`
- Print an offensive quotation:
2015-12-23 16:30:24 +03:00
`fortune -o`
- Print a long quotation:
2015-12-23 16:30:24 +03:00
`fortune -l`
- Print a short quotation:
2015-12-23 16:30:24 +03:00
`fortune -s`
- List the available quotation database files:
`fortune -f`
- Print a quotation from one of the database files listed by `fortune -f`:
`fortune {{filename}}`