Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 can connect to a Windows server using the Gnome Places -> Connect to ... dialog, and then I can access the files using Nautilus.

Now, how can I specify a file or folder in the share on a command line? For example, I have this share "c$ on WinServer". I would like to specify this location as a path for commands like ls, cp etc.

share|improve this question
up vote 3 down vote accepted

ls ~/.gvfs

That'll show gnome-mounted things and you can treat them like any other filesystem.

share|improve this answer
Excellent. Exactly what I am looking for. Thanks. – Prakash K Oct 13 '10 at 13:23

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.