Saturday, June 27, 2009

Some details for SSL

Some good websites :

http://tldp.org/HOWTO/SSL-Certificates-HOWTO/x64.html

http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html

http://www.tc.umn.edu/~brams006/selfsign.html

DSA and RSA Cert Generation:
http://www.vscape.com/wiki/opensource/vssl/openssl_certs

http://security.ncsa.uiuc.edu/research/grid-howtos/usefulopenssl.php

Thursday, June 18, 2009

Good website to learn unix

http://unix.t-a-y-l-o-r.com

Tuesday, June 2, 2009

Diff command in unix

diff command is used to find the difference between 2 files in Unix.

Some of the important options in it:

diff -y - This will display the output in 2 colums. So that you can see the difference clearly.

diff -y --suppress-common-lines - This will suppress the lines which are common and display only the lines which they differ in 2 columnar output.

Removing unwanted space in vi

Sometimes when you copy and paste some lines to vi editor, it will add some unwanted white space in the front. In that case you can execute the following commands to make it correct:

Delete all trailing whitespace (at the end of each line) with:

:%s/\s\+$//

Delete whitespace at the beginning of each line:

:%s/^\s\+//