Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ubuntu server and a Mac running Snow Leopard on the same network.

From the Mac, I see the a shared directory "Server Name" that automatically shows up in my Finder with the Screen Sharing. Do you know the full path of that share? I need to access via Terminal/Command line.

Ex: cp my.file //TheSharedDir/...

Basicly, I want to deploy jar from my Mac to the UbuntuServer through that share.

share|improve this question
up vote 7 down vote accepted

Open a Finder window of the directory "Server Name" and the drag and drop the icon left to the name of that window on a terminal window.

This gives you the full path.

share|improve this answer

Check under Volumes. You should see the "root" of your server share there. In your Finder, "go" to /Volumes and you'll see the paths going from there.

share|improve this answer

One other option since you're using the Terminal is to drag and drop the folder in question into the Terminal window which will fill in the full path for the folder or file you drop onto the Terminal window.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .