1.

Solve : Ubuntu Startup Problems?

Answer»

I am looking to run a bash script at LOG in with Ubuntu 7.04. How do I make that happen?Taken from Ubuntu Forums - User amicitas
http://ubuntuforums.org

Re: logon or login script?
There are a COUPLE FILES that are sourced on login (either to your desktop manager, or to a terminal).
https://wiki.ubuntu.com/environment_variables

If you are using bash, the global login FILE is /etc/profile, and the user login files are ~/.bash_profile

(NOTE that .bash_profile is different from .bashrc in that .bash_profile is only sourced on login (or on the start of a login terminal). .bashrc will be sourced for any kind of terminal startup.)

Help?



Discussion

No Comment Found