Watch the video:
Timestamps:
0:00 - Intro/Explanation
0:30 - Update & Install SMB
1:08 - Creating folderse to network share
1:25 - Share folder/directories in Linux
2:59 - Set a password (or not)
4:40 - Adding file shares on other computers
5:40 - Reload SMB (Samba) config
5:50 - Disable DEFAULT home directory sharing!
6:12 - Printer sharing settings
If you’re sharing files & folders on Windows and find it useful - You can do the same under Linux! You can even share printers over the network! This video shows you how to setup SMB (Samba) shares on Linux. This video shows Arch Linux, but it should work on any Linux distro.
Default Samba config file: https://git.samba.org/samba.git/?p=samba.git;a=blob_plain;f=examples/smb.conf.default;hb=HEAD
Arch Wiki Samba: https://wiki.archlinux.org/title/samba