Hi guys and gals,
I just installed GMT4 through MacPorts. I don't know why that would have affected my .bashrc file but I'm getting the following errors when running commands:
"-bash: ls: command not found"
"-bash: emacs: command not found"
"-bash: sudo: command not found"
I've managed to re-add these commands by typing
"export PATH=$PATH:/usr/bin" but the result is only temporary. Can someone please tell me what file I need to add /usr/bin to in order to fix this permanently?
After typing "export PATH=$PATH:/usr/bin" and running an echo of my path I get the following
mar2194-3:etc mar2194$ echo $PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/lib/gmt/bin:/usr/local/netcdf-4.1.1/bin:/bin:/usr/local/bin:/usr/bin
mar2194-3:etc mar2194$
Can someone help me out with this? I know it's not rocket science I just have no idea where to look.
- mar2194
I just installed GMT4 through MacPorts. I don't know why that would have affected my .bashrc file but I'm getting the following errors when running commands:
"-bash: ls: command not found"
"-bash: emacs: command not found"
"-bash: sudo: command not found"
I've managed to re-add these commands by typing
"export PATH=$PATH:/usr/bin" but the result is only temporary. Can someone please tell me what file I need to add /usr/bin to in order to fix this permanently?
After typing "export PATH=$PATH:/usr/bin" and running an echo of my path I get the following
mar2194-3:etc mar2194$ echo $PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/lib/gmt/bin:/usr/local/netcdf-4.1.1/bin:/bin:/usr/local/bin:/usr/bin
mar2194-3:etc mar2194$
Can someone help me out with this? I know it's not rocket science I just have no idea where to look.
- mar2194