Sunday, October 30, 2011

Reflections on Pearl Harbor

"Reflections on Pearl Harbor " by
Admiral Chester Nimitz.

Sunday, December 7th, 1941--Admiral Chester Nimitz was attending a
concert in Washington D.C. He told there was a phone
call for him. When he answered the phone, it was President Franklin
Delano Roosevelt on the phone. He told Admiral Nimitz that he (Nimitz)
would now be the Commander of the Pacific Fleet.

Admiral Nimitz flew to Hawaii to assume command of the Pacific Fleet.
He landed at Pearl Harbor on Christmas Eve, 1941. There was such a
spirit of despair, dejection and defeat -- you would have thought the
Japanese had already won the war. On Christmas Day,1941, Adm. Nimitz
was given a boat tour of the destruction wrought on Pearl Harbor by
the Japanese. Big sunken battleships and navy vessels cluttered the
waters every where you looked. As the tour boat returned to dock, the
young helmsman of the boat asked, "Well Admiral, what do you think
after seeing all this destruction?" Admiral Nimitz's reply shocked
everyone within the sound of his voice. Admiral Nimitz said, "The
Japanese made three of the biggest mistakes an attack force could
evermake or God was taking care of America ". Shocked and surprised, the young helmsman asked, "What do mean by
saying the Japanese made the three biggest mistakes an attack force
ever made?"

Nimitz explained.
"Mistake number one: the Japanese attacked on Sunday morning. Nine out
of every ten crewmen of those ships were ashore on leave. If those
same ships had been lured to sea and been sunk--we would have lost
38,000 men instead of 3,800.

Mistake number two: when the Japanese saw all those battleships lined
in a row, they got so carried away sinking those battleships, they
never once bombed our dry docks opposite those ships. If they had
destroyed our dry docks, we would have had to tow every one of those
ships to America to be repaired. As it is now, the ships are inshallow
water and can be raised. One tug can pull them over to the dry docks,
and we can have them repaired and at sea by the time we could have
towed them to America . And I already have crews ashore anxious to man
those ships.

Mistake number three: every drop of fuel in the Pacific theater of war
is in the ground storage tanks five miles away over that hill.
One attack plane could have strafed those tanks and destroyed our fuel
supply.

That's why I say the Japanese made three of the biggest mistakes an
attack force could make or God was taking care of America " .

I've never forgotten what I read in that little book. It is still an
inspiration as I reflect upon it. In jest, I might suggest that
because Admiral Nimitz was a Texan, born and raised in Fredricksburg ,
Texas --he was a born optimist. But anyway you look at it--Admiral
Nimitz was able to see a silver lining in a situation and circumstance
where everyone else saw only despair and defeatism. President
Roosevelt had chosen the right man for the right job. We desperately
needed a leader that could see silver linings in the midst of the
clouds of dejection,despair and defeat.

Friday, October 21, 2011

Change default gateway in linux

ifconfig eth1:0 192.168.0.121 up

route del default gw

route add default gw

Wednesday, October 12, 2011

Crontab tutorials

Crontab

Commands
#crontab -e Edit your crontab file, or create one if it doesn't already exist.
#crontab -l Display your crontab file.
#crontab -r Remove your crontab file.
#crontab -v Display the last time you edited your crontab file. (This option is only available on a few systems.)

File
#crontab -e
A crontab file has five fields for specifying day , date and time followed by the command to be run at that interval.
* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)

• * in the value field above means all legal values as in braces for that column.

Example:-
Q1. How can I remove all log messages at 6:30 PM daily?
Ans. 30 18 * * * rm /home/user/tmp/*
Q2. How can I remove all log messages at 6:30 only on (Sat- Sun)?
Ans. 30 18 * * 6-7 rm /home/user/tmp/*
Q3. How can I remove all log messages on 1st, 10th and 15th of month Oct.?
Ans. 30 18 1,10,15 10 * rm /home/user/tmp/*
Q4. How can I remove all log messages after every 15 mins?
Ans. 15,30,45,59 * * * * rm /home/user/tmp/*

Friday, October 7, 2011

People

I have seen many people, who born MAD, lives MAD, and dies MAD. They don't know what is brain?
I have seen many people, who born SAD, looks SAD, and dies SAD. They don't know what is life?
I have seen many people, who tell lies, listen lies, and think lies. They don't know what is truth?
I have seen many people, who born angry, lives angry, and dies angry. They don’t know what is love?
I pray for those people, at least they should enjoy 5 mins of their life.