Linux Java Tomcat Path Env Classpath

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Linux Java Tomcat Path Env Classpath as PDF for free.

More details

  • Words: 579
  • Pages: 2
ubuntu linux tips for java developers one of my good friend fabrice pasquier was helping me a lot while testing and installing jboss in linux ubuntu. ubuntu is one of best breed from linux family, its simple but very powerful. you can install ubuntu as a separate os or as a dual os with windows os.

some useful commands * ls- all :: lists files/folder with access details * chmod a+x :: helps to execute the files with extensions like .sh, .rpm .bin etc., * ./shutdown.sh -s :: helps to shutdown jboss from where its started. * ps - a :: shows a snapshots of current processes * ps -a | grep bash :: shows processes started using bash * ps - a top * ps - a u username * kill -9 :: kill the particular process whose pid can be found using ps -a * env :: shows the environment variables of the system * env | grep path :: shows the path environment variable alone * $path :: shows the path variable * ctrl + z :: pressing this will help you get the command prompt from a running process, just after this type bg and move the process to run in background. * ctrl + atl + backspace key :: restarts the graphical interface of the current user. * sudo mv , move files/folders * less /etc/profile :: similar to more or type command, but this lets you also edit the file upon pressing hot keys * ln -s :: creates a symbolic link of the file. * which :: find and displays the filename location, escp for executable file * find / -name "mozilla" :: find and displays where the file/folder mozilla is located * smbclient and samba server helps for networking with windows drives * webmin and webmin-mysql helps to admin the system via web interface * /etc/init.d/webmin start :: starts/restarts webmin * gedit :: will open simple text editor * gnome-terminal will open command window * sudo xterm passwd :: will open x-terminal window for root user * alien <-rpm file> :: alien -i <-rpm file> :: will helps to unpack and install rpm based files in debian system * rm :: remove file * rmdir :: remove directory * mv :: move file * cp :: copy file * gphoto * df * du -s < file/directory name> will list the file/directory size in kb,mb format * alias * env :: displays the enviroment and syatem variable settings * export $path=$path:... sets paths

* chgrp :: change file/folder group * chusr :: chnage file/folder user * cat /proc/meminfo- to tell what memory used by processes * free- show free memory * watch "ls -al" monitors the current folder * watch "du -s" monitors current folder byte size * scp username@servername :directory location * makes ssl copy rsync synchronize one folder to another across network * tar - tar archive tool * touch - update the file properties with current date and time * mysqldump -u username -p unemed_dbo generates sql scripts, mysql script /home/balaji/somefile.sql to install jre in firefox, try to find the jre plugin file under the jdk/jre folder and make a symbolic to it inside the firefox directory... installing mysql in ubuntu apt-get install mysql-server then execute mysql_install_db export path=$path:/home/muskan/jdk/bin export classpath=$classpath:/home/muskan/jdk/lib/tools.jar;/home/muskan/tomcat/server/lib /servlet-api.jar login root modify .cshrc or .bashrc then give setenv path=${path}:${rootsys}/bin to set environment variable cd tomcat/bin ./startup.sh

Related Documents

Linux Path Failover V14_en
November 2019 0
Tomcat
June 2020 10
Tomcat
November 2019 17