Friday, December 2, 2011

How to mount smb/cifs network share on linux

Make sure you do this as root
Create a directory for mount point 
#mkdir /mnt/smb_share 
#mount -t cifs -o user=test //servernameorIP/share /mnt/smb_share 
It then prompts for your Fileshare password. After successful mounting you can
list the content of the share
#ls /mnt/smb_share