LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   execute a script upon logon (https://www.linuxquestions.org/questions/linux-newbie-8/execute-a-script-upon-logon-322862/)

Starch 05-12-2005 03:55 PM

execute a script upon logon
 
Is it possible to execute a script when logging in?

Thanks in advance!

Matir 05-12-2005 03:56 PM

Yes. place the script in your .bash_profile file, IIRC.

trickykid 05-12-2005 03:56 PM

Just add it to your .bash_login file in your users home directory..

Matir 05-12-2005 04:04 PM

.bash_login? I'm not sure I've ever even heard of that.... guess I need to study bash better. :)


All times are GMT -5. The time now is 05:12 PM.