Every time I launch bash, I get greeting sentences like these before the prompt:

My cup hath runneth'd over with love.

Flugg's Law: When you need to knock on wood is when you realize that the world is composed of vinyl, naugahyde and aluminum.

Honk if you hate bumper stickers that say "Honk if ..."

With reasonable men I will reason; with humane men I will plead; but to tyrants I will give no quarter. -- William Lloyd Garrison

How can I disable this (useful) feature?

Neither in /etc/bashrc, ~/.bashrc nor in ~/.bash_profile files I have anything in that regard.

  • Perhaps the ~/.profile?
    – K-attila-
    Mar 23 at 15:01
  • 1
    Those aren't the only files bash reads, particularly as a login shell. See Bash Startup Files Mar 23 at 16:16
  • @StephenKitt - I am using Artix Linux (Arch derivative).
    – Pietro
    Mar 23 at 18:05
  • @K-att- - I have a .bash_profile file, which simply redirects to .bashrc. I have no .profile file.
    – Pietro
    Mar 23 at 18:09
  • @glennjackman - It is not a login shell. It happens every time I open a bash console.
    – Pietro
    Mar 23 at 18:10

1 Answer 1


Found it. In my distro (Artix) it is here:


I commented out the line with the fortune command, and no more famous sentences are shown when I open a console.

In case I need some fortune, I can still run the fortune command manually...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .