LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-17-2006, 08:11 AM   #1
nc3b
Member
 
Registered: Aug 2005
Posts: 330

Rep: Reputation: 32
Funny quotes


Everytime I start a new shell, I get a funny message, quote, joke etc. Where do they come from? Thank you
 
Old 08-17-2006, 08:17 AM   #2
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
from the fortune program type 'man fortune' in the shell for details.
 
Old 08-17-2006, 08:19 AM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
from an old program called fortune.
Code:
man fortune
It's in the bsd-games package.
It's executed from /etc/profile
every time you start a new shell

*EDIT*
Eternal_Newbie, I guess you type faster

Last edited by perfect_circle; 08-17-2006 at 11:46 AM.
 
Old 08-17-2006, 08:29 AM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
I usually have to correct my spelling
 
Old 08-17-2006, 09:29 AM   #5
nc3b
Member
 
Registered: Aug 2005
Posts: 330

Original Poster
Rep: Reputation: 32
Thank you verry much
 
Old 08-18-2006, 08:47 PM   #6
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by perfect_circle
It's executed from /etc/profile
It's really executed from the bsd-games-login-fortune.[c]sh script in /etc/profile.d/. /etc/profile is a single script
 
Old 08-18-2006, 10:43 PM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally Posted by Daga
It's really executed from the bsd-games-login-fortune.[c]sh script in /etc/profile.d/. /etc/profile is a single script

Yeah, which is executed from /etc/profile:
Code:
# Append any additional sh scripts found in /etc/profile.d/:
for profile_script in /etc/profile.d/*.sh ; do
  if [ -x $profile_script ]; then
    . $profile_script
  fi
done
 
  


Reply



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
Problems with quotes and double quotes Andruha Slackware 6 01-02-2010 04:44 PM
Quotes stolen Slackware 2 05-27-2006 12:02 PM
Using single quotes vs double quotes in PHP strings vharishankar Programming 6 07-11-2005 11:41 AM
Quotes Unp Slackware 5 02-11-2005 12:24 PM
Quotes qcoder LQ Suggestions & Feedback 2 10-16-2003 10:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:16 AM.

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