lsof command

How do I find out what is listing or using tcp port number 80 on Linux based systems using command line options?

{ 4 comments }

How can I find all the file descriptors used by a process such as httpd (Apache web server) or mysqld (MySQL Database server)?

{ 2 comments }

How do I check network connections under Linux using command line options?

{ 8 comments }

How do I find out running processes were associated with each open port? How do I find out what process has open tcp port 111 or udp port 7000 under Linux?

{ 29 comments }

I‘ve configured my Apache in chrooted jail at /jail/apache directory. However, my syslogd is not working and nothing gets logged using /dev/log and /jail/apache/dev/log. How do I fix this problem under CentOS 5.x AMD64 with SELinux?

{ 1 comment }

How do I find out my apache username under Linux operating system or CentOS Linux server?

{ 1 comment }

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?

{ 10 comments }