ps – ef grep java  -> ps –efgrep $(which java) this will list java processes, but only for your default javainstallation. If you have more than one Java installed, e.g. your Jboss with java7, tomcat with java6, and eclipse with java5, this will fail. There is another tool called pgrep

nohup command-with-options &
eg: nohup java -jar api.jar &

This would run the java program as specified in jar.

vi <<filename>> Opening a file

sudo su -> Gives root / admin privileges which were essential for installing softwares

Click here for basic Linux commands