1

Where can I find the mount point of some network shared folder. For example, I shared folder pac from MachineB. That folder can already be seen/browsed from MachineA via nautilus.

But I need is a way to browse that pac folder from command line from MachineA. How can that be done?

3
  • Whats the output of mount | grep pac?
    – heemayl
    Nov 29, 2016 at 3:30
  • that command gives empty output from MachineA. From MachineA nautilus the folder was called pac on 192.168.0.123 (which is the address of MachineB)
    – artm
    Nov 29, 2016 at 3:34
  • Take a look at this: askubuntu.com/a/33513/372607
    – Evan Chen
    Nov 29, 2016 at 4:58

1 Answer 1

2

Mount:

Nautilus > Go > Enter location > smb://192.168.0.123

Then can find the shared folder in /$XDG_RUNTIME_DIR/gvfs (ref: EvanChen link askubuntu.com/a/33513/372607)

Specifically on my 16.04

~$ cd /$XDG_RUNTIME_DIR/gvfs
//run/user/1000/gvfs$ ls
smb-share:server=192.168.0.123,share=pac

//run/user/1000/gvfs$ cd smb-share:server=192.168.0.123,share=pac
//run/user/1000/gvfs/smb-share:server=192.168.0.123,share=pac$ pwd
//run/user/1000/gvfs/smb-share:server=192.168.0.123,share=pac

Then make a softlink from home folder: $ cd ~ $ ln -s //run/user/1000/gvfs/smb-share:server=192.168.0.123,share=pac pac

Now cd pac and done, can browse the network shared folder from command line.

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