Share folder and files on Lan in Ubuntu

You want to share files on the local network or transfer files from one computer to another? below, a very simple way through the console.
Made in seconds. We can share files locally, but if we have an ip output to the world also globally.

We start the terminal and go to the directory we want to share.
in my case, let it be the Music folder:

and run the command:

Below is a log from the console:

Now after switching to ourIP address:8000

We will list the entire directory.

If we want to change the port on which the script is to be run in the console, we issue the command:

9001 we replace, of course, with our port.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.