I've just tried the following command on my Ubuntu, it doesn't show a thing:
shouldn't it return the process id of php5(which the following command just does)?:
ps aux | grep php5
So, what's the difference between these two commands?
Just use the
If you want full details instead of just the pids, you can use:
which is simpler and more reliable than