At the end of the .bashrc file, I added these lines to set the path to the foo folder in my home directory:
PATH = $PATH:/home/username/foo export PATH;
Then I typed bash:
source .bashrc
There was an error:
bash: PATH: command not found
I am using Debian Squeeze. In a similar question , it was recommended to modify /etc/login.defs here. I do not want to do this, as it is written in the login.defs name itself:
add the rest [of your paths] in the shell startup files
How to add foo folder to PATH in .bashrc?
source share