How to access a network folder in Ubuntu using the terminal
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
Network locations mounted under GNOME via the GUI are mounted under ~/.gvfs
.
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.
For Ubuntu 14.04, Ignacio's answer doesn't work. In fact is at other location, as told here.
Use smbmount
. It mounts a network location to a directory.