Terminal troubles

in Genius Bar edited January 2014
This is the strangest thing. When I attempt to use the 'ls' command in the terminal utility I receive the following error message:

-bash: ls: command not found

This happens for most commands such as 'cp' and 'mkdir'.

The reason I am going through the terminal is because there are several volumes on my computer which I can't seem to access at all. I was using Azureus and apparently it created new volumes unbeknownst to me. I found this use by connecting to another computer and booting in target disk mode. This is very frustrating.



  • Reply 1 of 3
    MarvinMarvin Posts: 14,232moderator
    What happens if you use Finder > Go > go to folder and type /bin? If that directory is there then maybe your PATH variable got messed up.

    If you type open -e ~/.profile and type in:

    export PATH="$PATH:/bin:/local/bin"

    and save the file. Then open a new terminal and see if it works.
  • Reply 2 of 3
    First off, Azureus doesn't create volumes on an HD. It's a java bittorrent client. Sounds to me like your HD may be fuxX0red.

    BTW, the 'other' computer you are connecting your computer to in TD mode must have the BSD subsystem installed on it. I believe this is an optional install, or used to be. That would explain the commands not working most of the time.
  • Reply 3 of 3
    MarvinMarvin Posts: 14,232moderator
    Originally Posted by 1337_5L4Xx0R

    First off, Azureus doesn't create volumes on an HD.

    If someone had saved the Azureus downloads to an external drive or image and then ejected it, Azureus would create a folder in /Volumes. They wouldn't mount as volumes though.
Sign In or Register to comment.