There are several ways to share files between a Windows computer and a Linux computer. Here is one way to do it using the SMB (Server Message Block) protocol:
On the Windows computer, open the Control Panel and go to "System and Security" > "Advanced sharing settings."
Under "Network discovery and file sharing," select "Turn on network discovery and file sharing."
On the Linux computer, install the "samba" package (if it is not already installed) by running the command "sudo apt-get install samba" (without quotes).
Edit the Samba configuration file by running the command "sudo nano /etc/samba/smb.conf" (without quotes).
Add the following lines to the file, replacing "sharename" with the name you want to give the shared folder, and "path/to/folder" with the path to the folder you want to share:
[sharename]
path = path/to/folder
valid users = yourusername
read only = no
Restart the Samba service by running the command "sudo service smbd restart" (without quotes).
On the Windows computer, open the File Explorer and enter "\Linux-computer-IP\sharename" (without quotes) in the address bar, where "Linux-computer-IP" is the IP address of the Linux computer, and "sharename" is the name you gave to the shared folder in step 5.
If prompted for a username and password, enter the Linux username and password you used in step 5.
You should now be able to access the shared folder from the Windows computer.
Note: This is a simple way to share files between Windows and Linux, but for more advanced use-cases, other options like NFS or SSHFS may be more appropriate.
"Please keep your comments respectful and on-topic."
"Your email address will not be published."
"HTML tags are not allowed in comments."
"Spam comments will be deleted."