FAQ tagged as:

lsof command

Q. I’m getting an error as follows while trying to run a shell script over remote ssh session:

./myscript.sh
/bin/bash: bad interpreter: Text file busy

How do I fix this error message and run the script?

{ 4 comments }

How do I install the free, open-source, Unix administrative tool called lsof (for LiSt Open Files) under FreeBSD operating system to displays information about files open to Unix processes?

{ 0 comments }

Q. How do I list all open files for a Linux or UNIX process using command line options?

{ 10 comments }

Q. How do I find out which service is listening on a specific port? How do I find out what program is listening on a specific TCP Port?

{ 8 comments }

This entry is part 3 of 2 in the series Linux Service Management

Q. How do I find open ports on Linux / FreeBSD server?

{ 4 comments }

nixCraft FAQ PDF Collection Now Available To All