Was it Linux coaching? Not so much, there’s the offensive mode too! 😁️
fortune is a simple program that displays random, poignant, inspirational, silly or malicious phrases from a citation database. The fortune command line utility is part of the games-misc/fortune-mod package.
Fortune is available from the repository of all Linux distributions and all BSD. So to install use the same:
On BSDs it is already installed by default! :)
To generate a sentence just run the command:
fortune -a
- generates all sorts of sentences: long, short, offensive;fortune -o
- only generates offensive phrases, for those who like! Observação (Note, in Gentoo and Funtoo, you need to compile with the flag USE="offensive"
for offensives to appear);fortune -l
- only long sentences;fortune -c
- only short sentences;fortune -m
- Only phrases that contain at least one word that matches the regex you pass; For more options use the manual: man fortune
echo 'fortune' >> ~/.bashrc
or the Shell configuration file you use.phrase.desktop
and use, for example, Yad and create a script with yad --title="Sentence of the day" --text="<big>$(fortune)</big>"
which will be called by phrase.desktop and add it to start in the Startup Applications option.