Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to access a shared network server via terminal on the Mac.

I can obviously access directories on the same system using just the command cd (e.g. cd /Applications) but our shared network I just can't work out how to get to?

I'm starting to wonder if it's a security issue that would prevent a user from seeing/accessing it.

share|improve this question
Mounted disks are located under /Volumes, e.g. cd /Volumes/MySharedVolume. – Paul R Jul 15 '10 at 14:50
Possible Duplicate: superuser.com/questions/159349/… – Chealion Jul 17 '10 at 2:27

migrated from stackoverflow.com Jul 17 '10 at 0:53

4 Answers

I suspect the volume has to be mounted first before you'll be able to acces it.

% cd /Volumes/[you server/volume name here]/Users/Shared/

Or you should use ssh.

share|improve this answer
How do you mount it though? It's open in Finder, but how to I refer to that shared volume at the command line? My /Volumes only contains a single entry for my SSD -> / – Jonathan Hartley Jun 18 '12 at 13:00
You could try ls -l /Volumes, normally you would see all mounted volumes listed. If it is not in the list I guess it is not mounted properly (unmount and try again?) or you may not access it. – André van Toly Oct 9 '12 at 11:35
cd /Volumes

there you will find all mounted volumes. There will also be the network-volumes.

share|improve this answer
Thanks very much! that did exactly the trick. Are there any good reference I could use in future? – Mark McDonnell Jul 15 '10 at 16:03
I'm sorry - I do not know any websites about questions like this one – Erik Jul 16 '10 at 21:03
Mark, if this answers your question, please "accept" it. – Chris Page Aug 21 '11 at 10:52

Have a look in your root directory under Volumes.

share|improve this answer

Use command df to show all mounted volume.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.