# List all the processes ps -ef # List all the processes that match the name ps -ef||grep ng # List files used by process with id 1845 lsof 1845|more # List dirs and files matching regexp in current directory ls|grep ng # Show os info uname -a