ps -ax | grep <username>
ps -ef | grep -v grep | grep sandipan
- ps displays the process table.
- efww is a group of options which affect how the process table is displayed. Read about them in the man page.
- | causes the standard output stream of ps to be piped into the following command’s standard input stream
- grep selects lines from the input stream which match a regular expression and prints them.