tldr/pages/common/fortune.md
Waldir Pimenta f5a5c9cc37 fortune: reword description of -f option, reorder
As I've commented in #373, I think the description of the -f example should use the word "file" because it matches with the short option name.
I've also updated the `fortune {{database}}` example to match this terminology, and reordered the examples in an order that I believe is more intuitive.
2016-01-11 23:12:41 +00:00

387 B

fortune

Print a random quotation (fortune-cookie style).

  • 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 {{filename}}