Mounting CIFS Shares from the command line
Revision as of 18:18, 19 January 2022 by Tinker (talk | contribs) (Created page with "= Install cifs-utils = *<code>sudo apt install cifs-utils -y</code> = Create a mount point = *<code>sudo mkdir /'''MOUNTPOINT'''</code> = Mount the share = *<code>sudo mount -t cifs -o username='''USER''',password='''PASSWORD''' //'''SERVERNAME'''/'''SHARENAME''' ~/'''MOUNTPOINT'''</code> = Check it out = *<code>ls /'''MOUNTPOINT'''</code>")
Install cifs-utils
sudo apt install cifs-utils -y
Create a mount point
sudo mkdir /MOUNTPOINT
sudo mount -t cifs -o username=USER,password=PASSWORD //SERVERNAME/SHARENAME ~/MOUNTPOINT
Check it out
ls /MOUNTPOINT