mirror of
https://github.com/trimstray/the-book-of-secret-knowledge
synced 2026-01-08 02:18:02 +00:00
11
README.md
11
README.md
@@ -370,6 +370,12 @@ ___
|
|||||||
fuser -k filename
|
fuser -k filename
|
||||||
```
|
```
|
||||||
|
|
||||||
|
###### Show what PID is listening on specific port
|
||||||
|
|
||||||
|
```bash
|
||||||
|
fuser -v 53/udp
|
||||||
|
```
|
||||||
|
|
||||||
___
|
___
|
||||||
|
|
||||||
##### Tool: [ps](https://curl.haxx.se)
|
##### Tool: [ps](https://curl.haxx.se)
|
||||||
@@ -894,6 +900,11 @@ lsof -Pni4 | grep LISTEN | column -t
|
|||||||
lsof -c "process"
|
lsof -c "process"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
###### View user activity per directory
|
||||||
|
|
||||||
|
```bash
|
||||||
|
lsof -u username -a +D /etc
|
||||||
|
```
|
||||||
___
|
___
|
||||||
|
|
||||||
**Tool: [netstat](http://www.dest-unreach.org/socat/doc/socat.html/)**
|
**Tool: [netstat](http://www.dest-unreach.org/socat/doc/socat.html/)**
|
||||||
|
|||||||
Reference in New Issue
Block a user