PS-EF | GREP -I Oracle | awk '{print $}';
The AWK usage is very useful when only one special column included in the UNIX command output is displayed.
In this item, if you want to kill all Oracle processes, we can use
PS-EF | GREP -I Oracle | Grep -V Grep | awk '{print $}' | -EXEC kill -9 {};
Where: grep -v represents the row containing a particular string. If you do not specify grep -v grep, then the following Kill command will kill this execution process.