Kategorie: Linux

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:

cd / home / rafal / Music /

and run the command:

python3 -m http.server

Below is a log from the console:

Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
127.0.0.1 - - [30/May/2022 08:41:21] "GET / HTTP/1.1" 200 -

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:

python3 -m http.server 9001

9001 we replace, of course, with our port.

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu