Samba is an application used to create network shares. This guide will walk through installing and configuring Samba on Ubuntu.
sudo apt update
sudo apt install samba
mkdir /home/tom/examplefolder
sudo nano /etc/samba/smb.conf
[Example Folder]
comment = Tom’s example folder
path = /home/tom/examplefolder
read only = no
browsable = yes
sudo service smbd restart
sudo ufw allow samba
sudo smbpasswd -a tom
You should now be able to access the shared folder from another device on the network.