Accessing Shared Directory Path in Mac Os X Terminal
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...
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.
5 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.
cd /Volumes
there you will find all mounted volumes. There will also be the network-volumes.
Use command df to show all mounted volume.
Have a look in your root directory under Volumes.
In your server ( or where the shared directory is ), add a Samba user and set a password for it:
sudo smbpasswd -a [SharedVolumeName]
Then you can use that user ( SharedVolumeName ) and the password you entered to authenticate and access the shared drive.