file_shares:mounting_file_shares
File Shares - Mounting File Shares
How to mount NFS / CIFS, Windows and Linux file shares.
COMMAND | DESCRIPTION |
---|---|
mount 192.168.1.1:/vol/share /mnt/nfs | Mount NFS share to /mnt/nfs |
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) |
net use Z: \\win-server\share password /user:domain\janedoe /savecred /p:no | Mount a Windows share on Windows from the command line |
Install smb4k on Kali, useful Linux GUI for browsing SMB shares.
apt-get install smb4k -y
file_shares/mounting_file_shares.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1