12.03.2025 Flashcards

(5 cards)

1
Q

netstat -tulpn?

A

netstat - command line tool for network connections and routing tables
-t = shows tcp connections
-u = shows udp connections
-l = shows listening sockets
-n = shows the and numerical addresses and port number
-p = shows the PID (processes ID)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ps -aef

A

-a = shows processes for all users
-e = shows every processes
-f = shows in full format
Best for parent child process relationships

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ps aux

A

-a = shows processes for all users
-u = shows user oriented format (like CPU%, memory usage)
-x = shows all processes including the background ones
Best for finding resource heavy process and all processes including daemon

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to load a module manually ?

A

sudo modprobe gtp5g

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How to remove a module ?

A

sudo rmmod gtp5g

How well did you know this?
1
Not at all
2
3
4
5
Perfectly