Friday, January 15, 2010

Mounting smb (cifs) from Ubuntu Linux

Key words: Ubuntu 9.10, Karmic Koala, smb, samba, cifs, windows share, command line

Goal: Mount a Windows share from the command line

Platform: Ubuntu 9.10 x64

Solution:

1) Make sure smbfs is installed:
sudo-apt get install smbfs


2) Mount the share with the following syntax:
sudo mount -t cifs //<server>/<share> <local mount point> -o user=<domain>/<username>


Notes:
https://wiki.ubuntu.com/MountWindowsSharesPermanently
http://linux.die.net/man/8/mount.cifs

No comments:

Post a Comment