2
votes
2answers
1k views

How to write a shell script that gets executed on login in?

I am trying to write bash shell script in Ubuntu 11.10 Linux distro, that will get executed automatically on logging into the system. But I am not able to figure out that what to write in script that ...
2
votes
1answer
1k views

Reload ~/.profile for desktop [duplicate]

Possible Duplicate: how do i tell gnome to reread my ~/.profile How to change environment variables without re-logging to UI? I'm trying to reload my ~/.profile without login out. I can ...
3
votes
2answers
18k views

Auto running bash script on login

I wanted to make a script which ran automatically on login so I put it into the file ~/bash.profile, but it didnt run. When I put it in bashrc, it ran on opening a terminal. What I was doing in the ...