The fortune command is used to output a random quote or aphorism. It is often used to add some variety to the normal work in the terminal.
The result of executing the command will be a random quote or aphorism, which may be comic, philosophical or otherwise.
The s option tells the utility to generate small quotes.
To output a quote, you can use cowsay:
To install the fortune command in Ubuntu, you can follow these steps:
Open the terminal.
Update the package list with the command:
Install the fortune program using the command:
Upon completion of the installation, the fortune command will be available for use.
After installation, you can use the fortune command to output random quotes and aphorisms in the terminal. You can redirect the output of the command to a file or use it together with other commands to create interesting effects.
Apply the discount by inserting the promo code in the special field at checkout: