fortune
Print a random quotation (fortune-cookie style). tldr-pages
On several platforms
Several platforms
Print a quotation
fortuneIdentifyPrint an offensive quotation
fortune -oIdentifyPrint a long quotation
fortune -lIdentifyPrint a short quotation
fortune -sIdentifyList the available quotation database files
fortune -fIdentifyPrint a quotation from one of the database files listed by fortune -f
fortune path/to/fileIdentifyPipe a fortune through another command (like cowsay or lolcat)
fortune | cowsay | lolcatIdentify