Register | Login

Published Articles

ksh shell keyboard short cuts

Posted by madeeswer 2322 days ago (Editorial)

KSH is one the shell available in many Unix flavors. Ksh is the default shell for Solaris.


below mentioned are few shortcuts available in ksh,


 


Auto complete ------> [ESC]-


Forward One Character —-> —-> [ESC]-l


Backward One Character —-> [ESC]-h


Delete One Character —-> [ESC]-x


Replace One Cha

Websphere normally holds NDM's cache on wstemp and applicaiton servers cache on temp directory that is created under each application.


 


wstemp can be cleared on the run but temp directory under the application server cannot be deleted like that because applciation might hold some data inside that folder.


 


Follow the below mentioned steps inorder to h

Solaris lsof equivalent script command

Posted by madeeswer 2084 days ago (Editorial)

for PID in `/usr/bin/ps -e -o pid`;do


echo Checking PID $PID...


/usr/local/bin/sudo /usr/bin/pfiles $PID|grep port:


done


Follow the below mentioned steps to migrate an application from rails 2.2 to rails 2.3.


1. Install/Upgrade your rails to rails 2.3.5 and also install/upgrade dependency gem packages.


2. make a copy of your old rails application


3. change name of rails_home/app/controller/application.rb to rails/home/app/controller/application_controller.rb


4. change the rails ve

We need to create one soft link in order to make firefox or chrome detect your jre installation.


 


ln -s /usr/java/jre1.6.0_20/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so


 


What is Jython

Posted by madeeswer 2209 days ago (Editorial)

Jython is an implementation of the high-level, dynamic, object-oriented language Python seamlessly integrated with the Java platform.


 


Jython is suited for



  • Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the appli

Find command can be used to find files with specific permission like 777 or 775 or 666.

Use the below mentioned command to find the files with 777 permission,

find -perm

e.g. find /home/test -perm 777

This will list all the files with 777 permission under /home/test folder.


In order to search for files with some other permission then change the 777 according the file permiss


By default if you change the ownership or group name of a symbolic soft link then the orginal file will get affected. The orginal files user name and group name will be changed but the soft links owner name and group name will reamin the same.


 


In order to change the soft links owner name and group name we need to use '-h' option


 


chown -h test:test

Linux:


In order to recursively search a string or pattern in Linux we can use '-r' option.


grep -lre “Error” /opt/*


-r will recursively search all the files and folder under the specified location.


 


AIX or Solaris or Unix:


AIX or Solaris or Unix version of grep command does not have the sophisticated '-r' option.


B

Find command's output can be substituted to another command.


 


Consider a scenario that you want to search for all log files in /tmp directory. Also want to see which log has SQL exception.


 


find /tmp -name "*.log" -exec grep -l "SQL" {} ;


 


the above command will search for all log files and if the file exist then it will execut

Linux Download youtube videos mozilla firefox

Posted by madeeswer 2040 days ago (Editorial)

First start the video and then press pause once the video starts buffering


go to the following direcotry


 


<home directory/.mozilla/firefox/cyvqrg9m.default/Cache


e.g. /home/test/.mozilla/firefox/cyvqrg9m.default/Cache


 


put ls -lrt


 


you can see the latest file. the file name will be created automatically b

Sort News
Username:

Password:

Remember:
YourWiz.com, is a website that will allow everyone to share their knowledge, tip or information through community micro blogging.