For example I want to execute :
ps x | grep something | grep -v grep | somecommand
I want to execute somecommand only if there is something running. How to do that ?
|
For example I want to execute :
I want to execute |
||||
|
|
|
You can use
|
|||
|
|
|
This is simple:
|
|||
|
|
|
Here is the solution
|
|||
|
|