≡ Menu

ps command

Ubuntu Linux Stop a Process

How do I stop a process under Ubuntu Linux using command line and GUI tools?
[click to continue…]

How do I find out if NFS server or service is running or not on my Linux or Unix based server?
[click to continue…]

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?
[click to continue…]

UNIX / Linux: awk Add Two Numbers

How do I add two numbers using awk? How do I calculate all incoming number stream on fly and display the total using awk?
[click to continue…]

Where Are MySQL Files Stored in UNIX / Linux

Where are my mysql database and table files are stored in UNIX or Linux operating systems?
[click to continue…]

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?
[click to continue…]

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?
[click to continue…]