Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am new to Ubuntu(and Linux for that matter) and I am trying to access files using the terminal. The network folder is on my Desktop, but when I go to the Desktop folder via the terminal, the network folder is not there.

How do I access files on a network folder via the terminal?

share|improve this question

migrated from stackoverflow.com May 4 '10 at 17:40

This question came from our site for professional and enthusiast programmers.

6 Answers 6

Just open required network location in Nautilus, and its address is shown in the Nautilus Location box.

share|improve this answer
    
The address displayed by nautilus is usually something like "smb://server/share" which doesn't work on the command line –  Brian May 4 '10 at 17:54
1  
Unless we're talking about an argument to gvfs-mount. But we're not. –  Ignacio Vazquez-Abrams May 4 '10 at 17:58

Network locations mounted under GNOME via the GUI are mounted under ~/.gvfs.

share|improve this answer
    
Is this still true? I can't confirm this is working on Ubuntu Maverick. I have 2 network folders (1 smb, 1 ftp) mounted via nautilus and they do not appear in ~/.gvfs. –  kynan Sep 13 '11 at 8:41
    
this is true for me under Ubuntu 12.04 Precise –  Rian Sanderson Aug 17 '12 at 21:57

Use smbmount. It mounts a network location to a directory.

share|improve this answer

A good way to go is to use find command and search for files on the network location. Found it under: /home/user/.gvfs.

share|improve this answer

For Ubuntu 14.04, Ignacio's answer doesn't work. In fact is at other location, as told here.

share|improve this answer

first go to

/run/user/1000/gvfs/

cd /run/user/1000/gvfs/

in this directory you will find the name and access of the server you connected to enter this cd "name of your server"

now you connected the server from terminal

but before that you need to enter it from the gui

the other way is to use; sshfs

share|improve this answer

Your Answer

 
discard

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