Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision |
file_shares:mounting_file_shares [2020/03/22 12:56] – created peter | file_shares:mounting_file_shares [2020/07/15 09:30] (current) – external edit 127.0.0.1 |
---|
| |
^COMMAND^DESCRIPTION^ | ^COMMAND^DESCRIPTION^ |
|mount 192.168.1.1:/vol/share /mnt/nfs|Mount NFS share to /mnt/nfs| | |<nowiki>mount 192.168.1.1:/vol/share /mnt/nfs</nowiki>|<nowiki>Mount NFS share to /mnt/nfs</nowiki>| |
|mount -t cifs -o username=user,password=pass,domain=blah //192.168.1.X/share-name /mnt/cifs|Mount Windows CIFS / SMB share on Linux at /mnt/cifs if you remove password it will prompt on the CLI (more secure as it wont end up in bash_history)| | |<nowiki>mount -t cifs -o username=user,password=pass,domain=blah //192.168.1.X/share-name /mnt/cifs</nowiki>|<nowiki>Mount Windows CIFS / SMB share on Linux at /mnt/cifs if you remove password it will prompt on the CLI (more secure as it wont end up in bash_history)</nowiki>| |
|net use Z: \\win-server\share password /user:domain\janedoe /savecred /p:no|Mount a Windows share on Windows from the command line| | |<nowiki>net use Z: \\win-server\share password /user:domain\janedoe /savecred /p:no</nowiki>|Mount a Windows share on Windows from the command line| |
| |
---- | ---- |