2
votes
1answer
307 views

Why is /etc/profile not invoked for non-login shells?

Login and non-login shell defined as: su - $USER # will give you a login shell bash # will give you a non-login shell /etc/profile is not invoked for non-login shells, such as when you start ...
0
votes
0answers
79 views

How do I run two scripts at login, one after the other?

I am using Kubuntu 12.10 and I am trying to run two commands, one after the other, upon login. These commands need to be run as the root user. I have already tried using "Startup and Shutdown" in ...
4
votes
1answer
139 views

why aren't my bash aliases applied when logging in to server

When I log in to my Ubuntu 12.04 LTS server my bash aliases aren't applied, but if I execute bash from the command line they are. ~/.profile executes ~/.bashrc: if [ "$BASH" ]; then if [ -f ...
4
votes
1answer
349 views

Source/Dot operator error on login. Possibly caused by bad byobu uninstall

I am getting an error message every time I ssh into my box or run sudo -i. It looks like this for login: login as: person chands@ubuntu-server's password: -bash: .: filename argument required .: ...