bash: fortune: command not found – how to solve it

Posted: June 4, 2008 in Linux
Tags: , ,

Happened when you upgrade bt3 to Slackware 12.1 ^_^

Workaround :

k-elektronik ~ # whereis fortune
fortune: /usr/games/fortune /usr/man/man6/fortune.6.gz /usr/share/man/man6/fortune.6.gz /usr/X11/man/man6/fortune.6.gz

k-elektronik ~ # ln -s /usr/games/fortune /usr/local/bin/fortune

  1. kapz says:

    Thanks, still useful for custom .bashrc in slackware 13.1!

  2. SeaJey says:

    Thx, worked in Debian 5.0 -> 6.0 case.

  3. Edwin Ramirez says:

    Thank you so much. I had trouble adding the fortune and cowsay commands to my PATH. This simple solution bypasses all that.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s