I want to add a script directory in my home directory (for something different then just adding to bin). I keep getting "No such file or directory" after updating. Now I noticed that in the GUI file manager in the "Home" directory it looks like what I see in the terminal under /home/tony/ (tony is my log in). I am doing everything in the terminal but that is confusing so as an aside can someone explain that discrepancy?
So in my terminal I run ls and I can see the subdirectory "scripts" and I can run the scripts in the directory manually.
I can move there and run pwd and I get /home/tony/scripts
so in my .bashrc file I added at the very bottom many different attempts and I always "get" the update however the directory is never found. As in my path gets updated and when I $echo it back it give the error message and of course my scripts do not run.
I have for example right now
PATH=$PATH:/home/tony/scripts export PATH
And then whether I "source" it again or open a new terminal I always get "No such file or directory"
it prints out the change I make every time and I have tried all sorts of combinations (i.e. $PATH:$HOME/scripts ...) and no matter what I do it finds no directory.
Based on the first response I commented out the changes in my .bashrc and I am still getting the error for something basic in my path from the install.
So this is my current path when I log in that was set up by the install... I really have not done much yet to this install at all.
tony@tony-GT70-MSI:~$ $echo $PATH bash: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: No such file or directory
posted my .bashrc here... http://paste.ubuntu.com/8562344/ LOL and the last two are commented while I am trying to work this out... but when uncommented they show in the path.