Setup Samba from Bash

Make your folder

mkdir ~/happy
chmod 0700 ~/happy

Set up samba

sudo apt install samba
sudo nano /etc/samba/smb.conf
# Networked Attached Storage Share
[nas]
  comment = welcome to NAS
  path = /storage/nas
  read only = no
  guest ok = no
  browsable = yes
# sudo service smbd restart
sudo /etc/init.d/smbd restart
sudo ufw allow samba
sudo smbpasswd -a <username>

Then connect to your new share!

External References