Link Search Menu Expand Document

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}}