LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to get rid of quotes in bash? (https://www.linuxquestions.org/questions/slackware-14/how-to-get-rid-of-quotes-in-bash-60279/)

CodeWarrior 05-17-2003 08:06 AM

How to get rid of quotes in bash?
 
Every time I open a console window I get this random quote from someone and then I get my prompt. How do I disable this quote and what file is it comming from?

whansard 05-17-2003 01:19 PM

you mean fortune?
run fortune at the prompt, and see if thats it.
look for it in your /etc/profile

docGonzo2000 05-17-2003 02:02 PM

just uninstall the bsd games package. Unless you play those old text games...

whansard 05-19-2003 04:40 PM

is the quote on the screen or in your head?

CodeWarrior 05-20-2003 09:04 PM

Quote:

Originally posted by whansard
is the quote on the screen or in your head?
I found that it was fortune and my profile has a loop that includes additional shell scripts when bash starts and one of whihc is one for fortune. I am currently trying to prevent the inclusion of that script. Thanks for the help. :cool:

abyss 05-20-2003 09:40 PM

To kill the fortune stuff...

as root

cd /etc/profile.d

chmod -444 bsd*

That will kill it.

HTH

CodeWarrior 05-21-2003 08:31 PM

Thats interesting abyss, I could try that instead, didn't think of that.

Tinkster 05-21-2003 09:02 PM

/me still can't understand why anyone wouldn't want the fortunes :}

Cheers,
Tink


All times are GMT -5. The time now is 05:03 PM.