Next: , Previous: Extra information, Up: Advanced usage   [Contents][Index]


3.2 Fortune cookies

If you have fortune installed – this program may be named fortune-mod in your GNU/Linux distributions package repository – you can run fortune | ponysay to get a random pony reading a random fortune cookie.

By adding fortune | ponysay to the end [easiest way] of your ~/.bashrc – or equivalent for your shell if you do not use GNU Bash (standard shell for most distributions now a days) – you will get the effect described in the previous paragraph every time you open a terminal.