Samba

From Noah.org
Revision as of 17:09, 19 October 2006 by Root (talk | contribs)
Jump to navigationJump to search

Mount a Windows share on Linux

The mount command supports smbfs. Use it. Assuming you want to mount the folder \\server\SharedDocs. You'll need to resolve your Windows \\server name to an IP address. Assuming that \\server resolves to 192.168.2.4.

mkdir SharedDocs
sudo mount -t smbfs -o username=Guest //192.168.2.4/SharedDocs SharedDocs

Browse with smbclient

Don't put a trailing slash on the share name!

cmbclient -UGuest //192.168.2.4/SharedDocs