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 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 May 4 '10 at 17:40

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

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

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

share|improve this answer

First, sudo apt-get install cifs-utils

Next, sudo mkdir -p /mnt/windows/share-name && sudo mount -t cifs //machine-name/share-name /mnt/windows/share-name -o username=your-username,domain=your-domain

It will then prompt you for a password.

If the machine is not domain joined, just use the machine name in place of the domain.

This worked for me just now.

share|improve this answer

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

share|improve this answer

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
Unless we're talking about an argument to gvfs-mount. But we're not. – Ignacio Vazquez-Abrams May 4 '10 at 17:58

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

first go to


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

You must log in to answer this question.