Debian, Ubuntu, Mint: Mount A Windows Network Share

| 3 Feb 2022

To mount a Windows share using the command line in a Debian based distribution, first ensure that cifs-utils is installed. If it isn’t, run

sudo apt install cifs-utils

To mount a share, run

sudo mount -t cifs -o username=userName,domain=DOMAIN //serverName/shareName /mnt/path

replacing userName, DOMAIN, serverName and shareName and the mount path as appropriate. If the Windows workstation/server is not part of a domain, the domain parameter can be omitted.