I am using putty to connect my linux server which my sites are in. I can run
# ps aux | less
to show running processes. But I want to display which files running these processes ?
I have also tried
# ps aux | grep <pid>
But getting this error.:

-bash: syntax error near unexpected token `newline'
What is the correct way to do it ?