Aggiorna README.md
This commit is contained in:
parent
c44ad2d9f0
commit
e628267250
1 changed files with 21 additions and 0 deletions
21
README.md
21
README.md
|
|
@ -176,3 +176,24 @@ inserire alla fine l'autorizzazione a "username"
|
||||||
oppure se installato usare
|
oppure se installato usare
|
||||||
|
|
||||||
usermod -aG sudo username
|
usermod -aG sudo username
|
||||||
|
|
||||||
|
|
||||||
|
## Processo attivo su porta
|
||||||
|
|
||||||
|
sudo lsof -i :4000
|
||||||
|
|
||||||
|
restituisce
|
||||||
|
|
||||||
|
```sh
|
||||||
|
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
|
||||||
|
node 3892961 orangepi 22u IPv6 19898405 0t0 TCP *:4000 (LISTEN)
|
||||||
|
```
|
||||||
|
|
||||||
|
per killarlo
|
||||||
|
|
||||||
|
sudo kill <PID>
|
||||||
|
|
||||||
|
in questo esempio
|
||||||
|
|
||||||
|
sudo kill 3892961
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue