I have problem with this simple script. It simply:
if xpenguins is running
The script is as follow:
if [ `ps -ax | grep xpenguins` ]; then
xpenguins -n 10 -all
The problem is, ' ps -ax | grep xpenguins' always return true.
Please suggest the better way.