11.03.2025 Flashcards
(5 cards)
1
Q
How to check if any process is running in a particular port ex of port - 2134?
A
sudo netstat -tulnp | grep 2134
2
Q
How to find if another instance of upf is running?
A
- ps -aef | grep upf (System V)
- ps aux | grep upf (BSD)
3
Q
How to generate a SSH key, to add in gitlab?
A
ssh-keygen
4
Q
How to list all the currently loaded modules?
A
lsmod
5
Q
How to kill a PID (which is mostly in the first or second column)?
A
sudo kill -9 [PID]