New answers tagged

0

By itself, lsof -i will only list Internet information. You can add file information (or show that instead) using the -d option. For example: lsof -d txt | grep -E '/httpd.pl$' because (unless a process changes the name under which it runs) the command name will match the actual filename which was loaded. That file has to be executable, of course ...



Top 50 recent answers are included