Difference between revisions of "Mounting CIFS Shares from the command line"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(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>")
 
m (Tinker moved page Mounting CIFS Shares to Mounting CIFS Shares from the command line without leaving a redirect)
(No difference)

Revision as of 18:19, 19 January 2022

Install cifs-utils

  • sudo apt install cifs-utils -y

Create a mount point

  • sudo mkdir /MOUNTPOINT

Mount the share

  • sudo mount -t cifs -o username=USER,password=PASSWORD //SERVERNAME/SHARENAME ~/MOUNTPOINT

Check it out

  • ls /MOUNTPOINT