Sep 5, 2014

Sample in-line unix "for" loop command eaxmples.

home>for i in {307,306,311} ; do echo $i; done
output:
307
306
311

home> for i in {307,306,311} {374..376} ; do echo $i; done
output:
307
306
311
374
375
376

May 5, 2014

How to setup password free SSH to hostname/localhost?


cd ~
echo "Removing the OLD .ssh dir"
rm -rf .ssh
ssh-keygen -t rsa
mkdir -p ~/.ssh
cat .ssh/id_rsa.pub >> .ssh/authorized_keys
chmod 700 .ssh; chmod 640 .ssh/authorized_keys
ssh-add
ssh `hostname`

May 1, 2014

Quotes

Before making the world to understand about some one, first you understand. -May1,2014

Don't make world to learn, first your learn.

Be strong when u know about the future. How ever it comes u can take it,
Or make your own way when you are strong.

Diamonds and stones look like same but they never. 

Gold is not available directly, it was extracted from soil after removal of impurities.

By default no one is perfect, thats why pencil needs an eraser to write prefect story/sentence.

Apr 17, 2014

Nothing is more important than reconnecting with your bliss. Nothing is as rich. Nothing is more real.
-Deepak Chopra

Winners never quit and quitters never win.
-Vince Lombardi

No one who does good work will ever come to a bad end, either here or in the world to come.
-The Bhagavad Gita