shell script check process running code example Example: check running process in linux ps -aux # (print all processes owned by a user named "x")