Tuesday, March 30, 2010

How to access windows share using Linux

STEP 1:
Share a folder in Windows and give permissions for a user
In my Example username=test and password=test@123
STEP 2:
Use the mount command as follows
#mount -t cifs //ipaddress of windows machine/Shared folder /mnt -o username=test,password=test@123
Above command mounts the shared folder to /mnt
STEP 3:
Now access the shared folder using cd /mnt ; ls -l

No comments: