On Tue, 5 Feb 2002 19:09:32 -0500
Todd Slater <[EMAIL PROTECTED]> revealed these words to me:

> If I want to run fortune when a user logs in, how do I edit the .login file? 
> I searched in my home directory, and cannot find this file.
> 
> Todd
> 
> 
> 

if only for a certain user, add it to his ~/.bash_profile so it will only be loaded 
when he logs in. or place it in the ~/.bashrc so it will fired up everytime the user 
opens a terminal.

or put in the /etc/profile so all users get a dose when they fire up a terminal.

or put it in the /etc/motd   (`/usr/games/fortune`), though i am not sure if this wont 
be called everytime bash is invoked. ;-)

just experiment, it wont hurt (unless you create a script that deletes things without 
confirmation, hehehehe).

ciao!


-- 

"Programming, an artform that fights back."

=============================
Anuerin G. Diaz
Design Engineer
Millennium Software, Incorporated
2305 B West Tower, Philippines Stocks Exchange Center,
Exchange Road, Ortigas Center, Pasig City

Tel# 638-3070 loc. 72
Fax# 638-3079
=============================


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to