Linux command toolbox

This page is managed by StJohn Piano.

Linux command toolbox

If you have any questions, comments, corrections, or suggestions - please contact StJohn Piano on Tela:

See open ports

sudo lsof -i -P -n | grep LISTEN

"lsof" = "list open files". In Linux, the guiding principle is "everything is a file". The running processes are managed within a virtual filesystem: proc. This means that lsof can list processes.