Path statements when using the Bash shell

Mar 27, '01 12:22:40AM

Contributed by: Anonymous

[Editor's note: See the comments for a good discussion and solution to this question]

I just managed to get bash compiled and running but I have a problem whenever I switch the shell in Terminal.app's preferences.

If I set it to bash, zsh or anything besides tcsh, it seems that I can only use commands from /bin. I mean, I'm missing basic stuff like ping and traceroute. I can su root and copy commands from /sbin or /usr/bin, but this doesn't seem like the right way to go about using my spiffy new shell.

Oddly enough, I can start Terminal with tcsh and then temporarily switch to bash, and everything works perfectly. Tried using chsh, but it launches vi, and vi and I are not on speaking terms.

Need help from someone who knows what the heck I'm doing wrong.

Thanks,
-Jeff K.

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20010327002240556