How to mount SMB shares in Ubuntu Server

Here's a quick and dirty was of mounting two example SMB shares that are already present on the 'EXAMPLENAS' server. Install CIFS utils: sudo apt install cifs-utils Edit the '/etc/fstab' file as sudo and add the following lines: //IP_OF_EXAMPLENAS/Media /mnt/examplenas_media cifs credentials=/home/YOURUSERNAME/.credentials,file_mode=0777,dir_mode=0777 //IP_OF_EXAMPLENAS/Downloads…