Change Directory (cd) to Network Share (Windows XP) in Ubuntu

5

1

How do I navigate in the terminal to a Windows network share?

I can access the Windows work-group using the GUI but I would like to get there in bash.

nicorellius

Posted 2010-05-24T02:54:45.663

Reputation: 5 865

Answers

5

Try looking in ~/.gvfs.

Paused until further notice.

Posted 2010-05-24T02:54:45.663

Reputation: 86 075

In Ubuntu 12.10 the paths were changed: http://serverfault.com/a/456854/102447

– parvus – 2013-10-19T07:51:25.017

4

You could install smbfs and mount a Windows network share using smbmount. This way you won't need to connect to the Winodows share with the UI before accessing it.

sudo apt-get install smbfs
man smbmount

Stacey Richards

Posted 2010-05-24T02:54:45.663

Reputation: 1 292

3

Those share folders are supposed to be mounted at /media, so just do ls /media and find your windows share folder name, and you could just use that share folder /media/something as normal file system.

You could also check mount points with df command also.

YOU

Posted 2010-05-24T02:54:45.663

Reputation: 516

1Tried ls /media with -lha and found no network shares. Also looked in mnt with no luck. – nicorellius – 2010-05-24T03:22:00.710