When you grep on ps, you usually lose the column headers. To grep on ps with column headers do - {{{ $ ps aux | egrep"your_string|PID" }}} ---- [CategoryComputing.Linux.Shell] | [CategoryComputing.Mac]