Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-21-2006, 07:06 PM   #1
Registered: Sep 2006
Posts: 72

Rep: Reputation: 16
turning fortunes off/on

Every time i start a new console, I get a new fortune spit out at me. I'm curious as to how this is happens and how i can disable/enable it. i assume there is some config file somewhere that tells bash to run 'fortune' every time a new console is opened, can anybody tell me what's up?
Old 10-21-2006, 07:18 PM   #2
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
In /etc/profile.d there are two scripts called and bsd-games-login-fortune.csh. You can switch the fortunes off by removing the execute bits of those scripts (i.e. chmod 644 /etc/profile.d/bsd-games-login-fortune.*) and switch them back on by setting the execute bit (chmod 755 /etc/profile.d/bsd-games-login-fortune.*).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable fortunes at login Tailer Linux - Software 3 09-17-2006 09:56 AM
Turning 21... scuzzman General 16 01-20-2006 07:03 AM
fortunes getting annoying nny0000 Slackware 4 02-25-2004 02:55 PM
fortunes Linuxcookie & LQ Mod Tinkster General 0 05-21-2003 09:35 PM
Fortunes MasterC General 14 10-06-2002 02:04 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration