Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Command line reference to network shares

  Date: Dec 04    Category: Unix / Linux / Ubuntu    Views: 615
  

I must be missing something obvious.

I have two Ubuntu machines: Faraday, running 8.04, and StrayCat, running 9.10.
Both have Samba installed.

I routinely create and share folders on one machine, and open them on the other
using Gnome-Nautilus.

Today, I wanted to copy some files at the command line. I had expected to see
something come out of the "mount" command showing me the shared folder - but
there wasn't anything referring to my shared folder.

I tried a few possible syntaxes from memory, like //STRAYCAT/rs-harpo and
STRAYCAT:rs-harpo. No joy.

Is there some special syntax for a share opened via Nautilus? Or do I have to
work out a Samba command to mount my shared folder?

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Dec 04    

When you open a network share in Nautilus, an entry for that folder is created
in ".gvfs", off of your home directory. (Gvfs must stand for Gnome Virtual File
System.)

So: If I use Nautilus to open the shared folder "rs-harpo" on my "StrayCat"
machine, the command line reference for that folder is:

"~/.gvfs/rs-harpo on straycat"

 
Answer #2    Answered On: Dec 04    

just make life easy I make a symlink to the ~/.gvfs folder (I
call it network) and that lives in my home folder.

 
Didn't find what you were looking for? Find more on Command line reference to network shares Or get search suggestion and latest updates.




Tagged: