head.daveops.net

Snippets for yer computer needs

lsof

desc command
List open files by user lsof -u
List open files by process name lsof -c
Use a logical AND for search lsof -a …
List all network connections lsof -i
List all Unix sockets lsof -U