Setting up "fortune" for logins ...

Reply

Join Date: Feb 2002
Posts: 12,047
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Setting up "fortune" for logins ...

 
0
  #1
Aug 3rd, 2002
I want to set up the ever popular fortune program to display a random fortune each time a user logs in. The program is installed, but which config file do I need to edit to get the program to automatically run after each successful login?
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,047
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re:Setting up "fortune" for logins ...

 
0
  #2
Aug 4th, 2002
ok ... got it! In that bash config thingie file (more specifically, the last line of .bash_profile) in my home directory ... I just typed /usr/games/fortune and it worked

My problem now is trying to figure out these really stupid, corny jokes. I *would* say they just went over my head, but everyone I ask doesn't have a clue what they mean either. Oh well!
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC