Mounting CIFS Shares from the command line

From Da Nerd Mage Wiki
Revision as of 18:19, 19 January 2022 by Tinker (talk | contribs) (Tinker moved page Mounting CIFS Shares to Mounting CIFS Shares from the command line without leaving a redirect)
Jump to navigation Jump to search

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