Mount an SMB share.
You need the helper program installed for either the nfs or cifs file system. For nfs based file system, following utility is required
sudo apt-get install nfs-common
To mount a Cifs file system, install the following utility
sudo apt install cifs-utils
Then
sudo mount -t cifs //machineIPadress/folder /mnt/folder -o username=myusername,password=mypassword
To unmount an SMB share, you can use the umount
command followed by the mount point directory. Here's an example:
sudo umount /mnt/folder