Wednesday, October 14, 2009

Access Windows shares from the terminal

The following command will help you to access the Windows shares from Linux systems;

#kdir /mnt/win
#mount -t cifs //server-ip-or-machine name/share/mnt/win -o username=user.password=pass.domain=DOMAINNAME

And to unmount the share.use the command give below:

#umount /mnt/win