ps command

How do I find out if NFS server or service is running or not on my Linux or Unix based server?

{ 1 comment }

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?


How do I add two numbers using awk? How do I calculate all incoming number stream on fly and display the total using awk?


Where are my mysql database and table files are stored in UNIX or Linux operating systems?


I am a new Unix/Linux command line bash/ksh/tcsh user. I was told to use the following ps command:

ps -auxf | sort -nr -k 4 | head -10

And I get the output along with warning message that read as follows:

Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.7/FAQ

How do I fix this problem?

{ 1 comment }

Q. How do I login over ssh without using password less RSA / DSA public keys? How do I use ssh in a shell script? How do I login non-interactivly performing password authentication with SSH and shell scripts?


Q. How to tell if my Linux server is using xinetd or inetd service?