Ubuntu: Relevant and Useful Commands

Posted on

Example of the Command FIND How to find all the Logs on your server find / -iname ‘*.log’ find /var/spool/asterisk/monitor/ -iname ‘*0414*’ Change server Timezone dpkg-reconfigure tzdata Restart Openbravo Tomcat /etc/init.d/openbravo-tomcat restart To Check if your server is 32 or 64 bits uname -a It will say “i686” for 32bit and “x86_64” for 64bit. Check […]


Ubuntu: Define JAVA_HOME Linux

Posted on

  Open up your profile vim /etc/profile Add the following code to the profile JAVA_HOME=/usr/lib/jvm/java-6-openjdk export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH To check if JAVA is set up correctly… echo $JAVA_HOME   Take note that is very important to know what is the real path to your JAVA, and consider that you can have diferent versions […]