terminal - how to find my external hard drive using unix commands

just discovered terminal and using cd and ls commands, which are the only commands i know, i realized that i can't find my external hard drive. i thought it would be listed on my desktop, as it is in the OSX interface, but it isn't there.

not that im skilled enough to use terminal yet, but i thought the first step would be being able to navigate the computer's files.

really curious as to where my external hard drive is and how i can find it using unix commands in terminal.

i was trying to figure it out myself, then i thought surely someone knows this and could tell me in a sec.

thanks.

ibook Mac OS X (10.4.4)

ibook Mac OS X (10.4.4)

Posted on Feb 13, 2007 3:04 AM

Reply
5 replies

Feb 13, 2007 7:02 AM in response to houden

"ls /Volumes" will list all volumes, including internal and external hard drives and mounted disk images. I find "disktool -l" more useful in scripts, as it tells you which volume names correspond to which "mount points" under /Volumes. Usually they're the same, but if you have two volumes with the same name, or you try to remount a removable volume before it is fully unmounted, you'll end up with a mount point that consists of the volume name with a numerical suffix.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

terminal - how to find my external hard drive using unix commands

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.