tldr/pages/common/fortune.md

29 lines
450 B
Markdown
Raw Normal View History

2015-12-23 13:30:24 +00:00
# fortune
> Print a random quotation (fortune-cookie style).
> More information: <https://man.archlinux.org/man/fortune.6>.
2015-12-23 13:30:24 +00:00
- Print a quotation:
2015-12-23 13:30:24 +00:00
`fortune`
- Print an offensive quotation:
2015-12-23 13:30:24 +00:00
`fortune -o`
- Print a long quotation:
2015-12-23 13:30:24 +00:00
`fortune -l`
- Print a short quotation:
2015-12-23 13:30:24 +00: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}}`