Hi, I have recently installed Mac OS 10.3, and am getting to grips with the Bash shell. I compiled the Nano text editor and all went well until I tried to execute it in Bash. I received the following error message
wills-Computer:~ will$ nano
-bash: nano: command not found
Now, it would execute if I included the full file path i.e.
/usr/local/bin/nano
So, I figured that I needed to tell Bash where to look. After some searching on this site and around the web, I created a .bashrc file in my home directory. In this file I included the following
PATH=$PATH:/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
According to what I have read this should have solved the problem. However I continue to get the error message described above.
Can anyone offer any advice on how I can sort this out?
Cheers
will103
wills-Computer:~ will$ nano
-bash: nano: command not found
Now, it would execute if I included the full file path i.e.
/usr/local/bin/nano
So, I figured that I needed to tell Bash where to look. After some searching on this site and around the web, I created a .bashrc file in my home directory. In this file I included the following
PATH=$PATH:/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
export PATH
According to what I have read this should have solved the problem. However I continue to get the error message described above.
Can anyone offer any advice on how I can sort this out?
Cheers
will103