Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Previously i used LMDE on my laptop, but now I moved to Ubuntu. I might have been a little bit rough with it, because I’ve simply format / partition, and installed Ubuntu on it. Home folder was separated, so i didn't touch it at all.

Now, when i start the Terminal, i get this message:

bash: /usr/bin/mint-fortune: No such file or directory

I've found a solution of this problem on Linux Mint forums:

sudo pico /etc/bash.bashrc

Removing the line:


But I don't have this line there. I imagine it has something to do with Home folder, since I formatted everything else before installing.

share|improve this question
up vote 3 down vote accepted

I think it will be on ~/.bashrc file. So run this sudo gedit ~/.bashrc command to open .bashrc file and then remove the line /usr/bin/mint-fortune from that. Atlast source the .bashrc file by running this command source ~/.bashrc so that the changes could be made permanent.

share|improve this answer

I just removed the pest from kubuntu14.04 installation by editing with vim the last line of /home/[my username]/.bashrc file, which line now looks as follows:

# remove this pest!  /usr/bin/mint-fortune

Before adding # it used to look simply as


which caused the error "not found" message to appear on the konsole

share|improve this answer

Have you tried

 sudo apt-get remove fortune 

I do not think that this has anything to do with your home folder, because the home folder typically just has user specific documents like music, photos, etc.


Removing Fortune Message

Basic Linux Directory Structure

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.