"ls" command = "bus error" in Terminal?
"ls" command = "bus error" in Terminal?
I can't seem to use the "ls" command anymore in Panther's terminal.app. I get a "bus error" message.
BUT...
I CAN use the "ls" command in X11 with no problems. Both the teminal.app and X11 use the same shell (sh-2.05b$ )
Any ideas?
I can't seem to use the "ls" command anymore in Panther's terminal.app. I get a "bus error" message.
BUT...
I CAN use the "ls" command in X11 with no problems. Both the teminal.app and X11 use the same shell (sh-2.05b$ )
Any ideas?
Comments
Or maybe the environment is different in a way that causes ls to crash.
The Terminal.App's ls is pathed to here:
sw/bin/ls
X11's ls is pathed to here:
/bin/ls
hmmmm.
What are my options?
It looks like fink set up your path to look to its versions of items (such as ls) before the default built in ones. You'll have to reset the path, or alias ls to /bin/ls directly.
Aliasing is probably easiest... place the following line in your .bash_login file:
alias ls '/bin/ls'
Originally posted by wmf
I would just delete /sw/bin/ls.
That worked...
Originally posted by Kickaha
/sw/bin is from fink, right?
It looks like fink set up your path to look to its versions of items (such as ls) before the default built in ones. You'll have to reset the path, or alias ls to /bin/ls directly.
Aliasing is probably easiest... place the following line in your .bash_login file:
alias ls '/bin/ls'
Should my .bash_login file be at the root of my home folder? (~/)?
If I don't have one, can I create it?