sudo apt install cifs-utils
sudo mkdir /mnt/share
# note the slashes are forwards
# version is sometimes needed but optional
sudo mount -t cifs -o user='joe',pass='shmo',vers='1.0' //server/share /mnt/share
# to dismount
sudo umount /mnt/share && sudo rmdir /mnt/share