Q: How to access windows shared folder in a Linux machine?
This is how to access and mount a windows shared folder in a linux system. You can connect to windows shared folder with username and password and mount to a local directory of linux machine.
[root@server ~#]mount -t cifs -o username=trainer //192.16.1.2/Files /now/mounted/
Password: (password of the user "trainer" in windows server)
The above command will access the shared folder named "Files" on windows server ip: 192.16.1.2 and mount it to local directory (/now/mounted/) of Linux system. You can go the mounted local directory and access shared files.
[root@server ~#]cd /now/mounted/
[root@server ~#]ls
Password: (password of the user "trainer" in windows server)
The above command will access the shared folder named "Files" on windows server ip: 192.16.1.2 and mount it to local directory (/now/mounted/) of Linux system. You can go the mounted local directory and access shared files.
[root@server ~#]cd /now/mounted/
[root@server ~#]ls
2 comments:
How can you access it with read/write access?
@CZE, Read /write permission is depends with the user account you access with..
Post a Comment