Create A Shared Folder On Linux With Samba
sudo apt install samba #Installing Samba sudo service smbd status #Check Samba Service mkdir /home//mysambafolder #create your shared folder sudo nano /etc/samba/smb.conf #edit this file with nano #add this to the end of the smb.conf file [mysambafolder] comment = My Samba Folder path = /home/ /mysambafolder readonly = no writeable = yes browsable = yes
Here is what the above code is Doing:
1. Installing Samba
2. Checking the status of the Samba service
3. Creating a folder to share
4. Editing the Samba configuration file
5. Adding a section to the configuration file to share the folder