Refer: https://ubuntuhandbook.org/index.php/2020/07/share-folder-smb-ubuntu-20-04/
Install Samba
sudo apt install samba
Right click the file via our folder browser and choose share options
If you want a remote PC to have access with a uersname and password, run the following command,
Note: The USERNAME must be an existing user on your Linux machine.
sudo smbpasswd -a USERNAME
Before getting access from the remote PC, you may need the IP address of hostname
ip -4 address
hostname
Access the share folder from remote computer
smb://ip-address/
\\ip-address\ or \\hostname\
