Ek Baar Ramu Bullet Chala Raha Tha, Sath Se Ek Activa Wali Ladki Gujri...
~
Ramu: “ Kabhi Bullet Chalai Hai? ”
~
Ladki Activa Tej Karke Aage Nikal Gayi, Ramu Brabar Mein Aakar Phir Puchta Hai.
Ramu: “ Kabhi Bullet Chalai Hai? ”
~
Ladki Ne Activa Ki Raftaar Dhimi Kar Li, Aage Ja Kar Ramu Ka Accident Ho Gaya.
~
Ladki Ramu Par Haste Hue:“ Aur Chala Le Bullet ”
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Ramu Rote Hue: “ Kamini, Kutti Yahi To Puch Raha Tha Chalai Hai To Bata De Break Kaise Lagate hai ..?
Thursday, February 9, 2012
Tuesday, January 10, 2012
(28)No space left on device: Couldn't create accept lock
run
ipcs -s
You will get something like below
0x008b82da 3539006 apache 600 17
0x008b82db 3571775 apache 600 17
0x008b82dc 3604544 apache 600 17
0x008b82dd 3637313 apache 600 17
0x00000000 3735618 apache 600 1
0x00000000 3768387 apache 600 1
0x00000000 3801156 apache 600 1
0x00000000 3833925 apache 600 1
0x00803c21 8814698 apache 600 17
0x00803c22 8847467 apache 600 17
0x00803c23 8880236 apache 600 17
0x00803c24 8913005 apache 600 17
0x00803c25 8945774 apache 600 17
Semaphores are often used to restrict the number of threads than can access some (physical or logical) resource
To destroy/delete all semaphores, you can use follwong script which you can directly execute on the Shell
ipcrm sem <3539006>
ipcs -s
You will get something like below
0x008b82da 3539006 apache 600 17
0x008b82db 3571775 apache 600 17
0x008b82dc 3604544 apache 600 17
0x008b82dd 3637313 apache 600 17
0x00000000 3735618 apache 600 1
0x00000000 3768387 apache 600 1
0x00000000 3801156 apache 600 1
0x00000000 3833925 apache 600 1
0x00803c21 8814698 apache 600 17
0x00803c22 8847467 apache 600 17
0x00803c23 8880236 apache 600 17
0x00803c24 8913005 apache 600 17
0x00803c25 8945774 apache 600 17
Semaphores are often used to restrict the number of threads than can access some (physical or logical) resource
To destroy/delete all semaphores, you can use follwong script which you can directly execute on the Shell
ipcrm sem <3539006>
Tuesday, December 20, 2011
LDAP SEARCH
ldapsearch -D 'eduid=,ou=people,dc=,dc=com' -w -x -b 'dc=,dc=com' -s sub -h ldap..com mail=mailtodaman@gmail.com
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.
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
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/*
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.
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.
Subscribe to:
Posts (Atom)