Command to find the used ports in server netstat -ln | grep '80 ' | grep 'LISTEN' netstat -atnp|grep LISTEN netstat -ln | grep '99 ' | grep 'LISTEN' netstat -ln | grep '16' telnet <machine_IP> <port> Command for copying files to server scp -pr RMVServices-0.0.2-SNAPSHOT.war shib@100.1.127.11:/home/shib Command for multiple search tail -f /tmp/Liferay-JBoss.out |grep 'PAGENAME\|tabName' grep 'PAGENAME\|tabName' for multiple search Command to set line no in VI Editor :set nu for line no :/ERROR for ERROR search in VI grep -r devapp214 ./|grep tst2 Command to shutdown jboss ./shutdown.sh -s 172.23.2.5:7109 ./shutdown.sh -s 172.23.2.25:1399 Command to search files find ./ -name jboss-admin.sh Command to see difference in files sdiff ./pdf.css /opt/dadm/liferay-portal-6.0-ee-sp2/jboss-.1.0/serv...