Friday, April 11, 2014

UNIX Commands



Read write access
sudo chmod 777 /foldername/foldername


to provide access to jboss server
sudo chown jboss.jboss /foldername/foldername

To check how many instance is running 
ps -ef | grep "java"


Delete all files

sudo rm -r ./*

Copy files from one folder to another

sudo cp -r /data/das/ /usr/local/jboss5/server/all-with-hornetq/


ln -s /webroot/home/httpd/test.com/index.php /home/vivek/index.php

No comments:

private methods on Interface

  Private methods can be used on interface from java 9.   This will help in     Avoiding code duplication.     Ensuring code re-usab...