raspberry pi os samba share code example Example 1: pi samba config sudo nano /etc/samba/smb.conf Example 2: configure samba on RPI sudo smbpasswd -a pi