On Tue, Dec 24, 2002 at 01:00:21AM -0000 or thereabouts, Kathy Darlin! wrote:
> What file would I edit if I wanted to run a particular command when I logged into 
>Redhat8? 
> 

There are several ways to accomplish this, depending on what you need.

1. If you want an X-Windows application to run when you log into X, one way is (in 
Gnome, anyway) to click on the Main Menu, select "Programs", "Settings", "Sessions", 
and "Session Properties and Startup Programs".  Enter the command you would like in 
the dialog box.  

2. If you don't need to pass any particular parameters (say you just want mozilla to 
run when you log in), you can just select the check box to save the session when you 
log out of X.

3. Use /etc/profile to run a script in /etc/profile.d whenever any user logs in.

4. Use ~/.profile to run command when one particular user logs in.

5. Use ~/.bashrc to run a command when a shell is started.

Is one of these what you are looking for?

-- 
Andrew Pasquale 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to