Since .bashrc is more "generic" (in the sense that .profile sources it), why "include ~/bin to path" procedure is not inside .bashrc? Why the user would not want it in a non-login shell? (Especially ...

I run ubuntu 12.04.1 LTS. And I can't get what is the order/priority for loading profile files. When I start the system and login using GUI which file is loaded? And why? What if run login-shell? Will ...

I want to ssh into my account, but I don't want the current version of my .profile login script to be executed. Is there a way to log in without running .profile?
(Disclaimer: I found a work-around ...

I have created a little script to add bookmarks in Nautilus to redirect users to network share. If I run the script manually, it works brillantly but as soon as I try to add it in /etc/profile.d, I ...

I wanted to add a path so that the system could find some manually installed executable. However, instead of typing PATH=xxx:$PATH;export PATH at the end of ~/.profile where xxx is the directory in ...

There are no errors in xsession and I don't have a .bash_login or .bash_profile file, so I'm 100% certain neither of those is loaded and thus cancels .profile loading.
When I rename the .profile to ...

I changed my .profile to run a script at startup. That scripts loops through all the files in a folder and sets it as the background image. It sleeps for 10 seconds before it sets the next one as the ...

All, I need to set environment variables in my ~/.profile since I am running a program (QtCreator) that doesn't start a bash shell.
I cannot for the life of me get it to work though. QtCreator will ...

I compiled sqlite3 from source code, version 3.6.16. I used --prefix=/usr/bin as my only compiling option.
The binaries compiled and installed correctly, but at the directory /usr/bin/sqlite3/bin. So ...

So I've been using ubuntu since 09.04 but have limited experience with sys admin. I now want to get into web development and as part of installing the Play Framework, I had to add the activator path ...

I try to edit .bashrc to view the C-compilers that I installed before.
But after opening the new terminal I am stuck with strange error.
I am unable to ls the files/directories and nothing works. It ...

I want to use keychain for SSH cron jobs.
I've found this good answer.
I've add command keychain --nogui id_rsa in .profile
And when I reboot and login I have to enter password.
But I don't see any ...

Several files in my home directory have been disappearing. E.g. .bashrc, .bash_profile, authorized_keys and now .profile.
I would like to reconstruct .profile. Where can I find the .profile contents ...

I need to set some variables such as JAVA_HOME and add them to the PATH. Can I somehow define them in .profile, and have them pulled into .bashrc? Or maybe add them to a 3rd file, and have that file ...

I know the difference among ~/.bash, ~/.profile vs. /etc/profile. I know (please correct me if I am wrong) configuration in ~/.bash is applicable for a specific user and terminal only.Configuration in ...

I recently inserted an error into my .profile file and now logging in just presents me back to the log in page, much like in this question. I've booted into recovery mode and recovered my encrypted ...

Is there a login option to skip processing the .profile and Startup Applications? I basically have a script in there that's hanging the system upon log-in. The filesystem is encrypted and I don't have ...

There are various posts on the Xubuntu login loop, but none of them address NVM (Node Version Manager).
I have installed NodeJS via NVM on my Xubuntu VM and it works fine, however after rebooting, I ...