How to Share a Folder on a Network Between Linux and Windows

Опубликовано: 12 Июнь 2026
на канале: Luba Linux
35,707
1.5k

Hey guys, what's up? In today's video I'm going to teach you how to share a folder on the network between Linux and Windows.

🔻🔻 Important Links 🔻🔻

🔴 VIDEOS and LINKS Mentioned:

BLOG

👉 https://lubalinux.com.br

COURSES I TOOK AND RECOMMEND
👉 https://hotm.art/I30NDt

How to Configure IP on Linux Debian
   • Como Configurar o IP no Linux Debian  

How to Configure a Static IP on Linux Ubuntu
   • Como Configurar IP Fixo No Linux Ubuntu  

COMMANDS USED.

sudo apt update (Update package lists)

sudo apt install samba (Install Samba)

cd /home (Change directory)

sudo mkdir share (Create the directory named "share")

sudo chmod 777 share (Give privileges to the directory "share")

cd /etc/samba (Change directory)

sudo cp smb.conf smb.conf.bkp (Make a copy of the file)

sudo nano smb.conf (Open a file in the nano editor with root privileges)

Ctrl + O (Save), Ctrl + X (Exit editor)

sudo systemctl restart smbd (Restart the Samba service)

ifconfig (Check network settings)

HOW THE FILE SHOULD LOOK

workgroup = home
netbios name = Files Shared

At the end of the file

[Files]
path = /home/share
public = yes
browseable = yes
writable = yes
comment = My Files
read only = no
guest ok = yes
create mask = 0700
directory mask = 0700


#lhinformatica #linux #virtualbox #linux #tips #technology #innovation #tutorials #freecourses #IT #programming