Friday, March 28, 2008

Dumbest kid!!!!!!!!

A young boy enters a barber shop and the barber whispers to his Customer,
"This is the dumbest kid in the world. Watch while I prove it to you."

The barber puts a dollar in one hand and two quarters in the other,

then calls the boy over and asks, "Which do you want, son?"

The boy takes the quarters and leaves.

"What did I tell you?" said the barber. "That kid never learns!"

Later, when the customer leaves, he sees the same young boy coming out of the ice cream store.
"Hey, son! May I ask you a question? Why did you take the quarters instead of the dollar?"

The boy licked his cone and replied, "Because the day I take the dollar, the game's over!"

~~~~~~~~

Thursday, March 27, 2008

Handling of signals in Shell scripting..

trap [-lp] [arg] [sigspec ...]

The command arg is to be read and executed when the shell receives signal(s) sigspec। If arg is absent or -, all specified signals are reset to their original values (the values they had upon entrance to the shell)।
If arg is the null string the signal specified by each sigspec is ignored by the shell and by the commands it invokes।
If arg is not present and -p has been supplied, then the trap commands associated with each sigspec are displayed।
If no arguments are supplied or if only -p is given, trap prints the list of commands associated with each signal number।
Each sigspec is either a signal name defined in <signal.h>, or a signal number।
If a sigspec is EXIT (0) the command arg is executed on exit from the shell। If a
sigspec is DEBUG, the command arg is executed after every simple command (see SHELL GRAMMAR above)।
If a sigspec is ERR, the command arg is executed whenever a simple command has a non-zero exit status।
The ERR trap is not executed if the failed command is part of an until or while loop, part of an if statement, part of a && or || list, or if the command's return value is being inverted via !. The -l option causes the shell to print a list of signal names and their corresponding numbers। Signals ignored upon entry to the shell cannot be trapped or reset। Trapped signals are reset to their original values in a child process when it is created। The return status is false if any sigspec is invalid; otherwise trap returns true.

Wednesday, March 26, 2008

To Take Backup of Files in Linux/+

cpio - copy files to and from archives

cpio {-o|--create} [-0acvABLV] [-C bytes] [-H format] [-M message] [-O [[user@]host:]archive] [-F [[user@]host:]archive] [--file=[[user@]host:]archive] [--format=format] [--message=message] [--null] [--reset-access-time] [--verbose] [--dot] [--append] [--block-size=blocks] [--dereference] [--io-size=bytes] [--quiet] [--force-local] [--rsh-command=command] [--help] [--version] <> archive]

cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file] [-H format] [-M message] [-R [user][:.][group]] [-I [[user@]host:]archive] [-F [[user@]host:]archive] [--file=[[user@]host:]archive] [--make-directories] [--nonmatching] [--preserve-modification-time] [--numeric-uid-gid] [--rename] [-t|--list] [--swap-bytes] [--swap] [--dot] [--unconditional] [--verbose] [--block-size=blocks] [--swap-halfwords] [--io-size=bytes] [--pattern-file=file] [--format=format] [--owner=[user][:.][group]] [--no-preserve-owner] [--message=message] [--force-local] [--no-absolute-filenames] [--sparse] [--only-verify-crc] [--quiet] [--rsh-command=command] [--help] [--version] [pattern...] [< archive]

cpio {-p|--pass-through} [-0adlmuvLV] [-R [user][:.][group]] [--null] [--reset-access-time] [--make-directories] [--link] [--quiet] [--preserve-modification-time] [--unconditional] [--verbose] [--dot] [--dereference] [--owner=[user][:.][group]] [--no-preserve-owner] [--sparse] [--help] [--version] destination-directory < name-list


cpio copies files into or out of a cpio or tar archive, which is a file that contains other files plus information about them, such as their file name, owner, timestamps, and access permissions. The archive can be another file on the disk, a magnetic tape, or a pipe. cpio has three operating modes.

In copy-out mode, cpio copies files into an archive. It reads a list of filenames, one per line, on the standard input, and writes the archive onto the standard output. A typical way to generate the list of filenames is with the find command; you should give find the -depth option to minimize problems with permissions on directories that are unwritable or not searchable.

In copy-in mode, cpio copies files out of an archive or lists the archive contents. It reads the archive from the standard input. Any non-option command line arguments are shell globbing patterns; only files in the archive whose names match one or more of those patterns are copied from the archive. Unlike in the shell, an initial `.' in a filename does match a wildcard at the start of a pattern, and a `/' in a filename can match wildcards. If no patterns are given, all files are extracted.

In copy-pass mode, cpio copies files from one directory tree to another, combining the copy-out and copy-in steps without actually using an archive. It reads the list of files to copy from the standard input; the directory into which it will copy them is given as a non-option argument.

cpio supports the following archive formats: binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar. The binary format is obsolete because it encodes information about the files in a way that is not portable between different machine architectures. The old ASCII format is portable between different machine architectures, but should not be used on file systems with more than 65536 i-nodes. The new ASCII format is portable between different machine architectures and can be used on any size file system, but is not supported by all versions of cpio; currently, it is only supported by GNU and Unix System V R4. The crc format is like the new ASCII format, but also contains a checksum for each file which cpio calculates when creating an archive and verifies when the file is extracted from the archive. The HPUX formats are provided for compatibility with HPUX's cpio which stores device files differently.

The tar format is provided for compatability with the tar program. It can not be used to archive files with names longer than 100 characters, and can not be used to archive "special" (block or character devices) files. The POSIX.1 tar format can not be used to archive files with names longer than 255 characters (less unless they have a "/" in just the right place).

By default, cpio creates binary format archives, for compatibility with older cpio programs. When extracting from archives, cpio automatically recognizes which kind of archive it is reading and can read archives created on machines with a different byte-order.

OPTIONS

-0, --null
In copy-out and copy-pass modes, read a list of filenames terminated by a null character instead of a newline, so that files whose names contain newlines can be archived. GNU find is one way to produce a list of null-terminated filenames.
-a, --reset-access-time
Reset the access times of files after reading them, so that it does not look like they have just been read.
-A, --append
Append to an existing archive. Only works in copy-out mode. The archive must be a disk file specified with the -O or -F (--file) option.
-b, --swap
In copy-in mode, swap both halfwords of words and bytes of halfwords in the data. Equivalent to -sS. Use this option to convert 32-bit integers between big-endian and little-endian machines.
-B
Set the I/O block size to 5120 bytes. Initially the block size is 512 bytes.
--block-size=BLOCK-SIZE
Set the I/O block size to BLOCK-SIZE * 512 bytes.
-c
Identical to "-H newc", use the new (SVR4) portable format. If you wish the old portable (ASCII) archive format, use "-H odc" instead.
-C IO-SIZE, --io-size=IO-SIZE
Set the I/O block size to IO-SIZE bytes.
-d, --make-directories
Create leading directories where needed.
-E FILE, --pattern-file=FILE
In copy-in mode, read additional patterns specifying filenames to extract or list from FILE. The lines of FILE are treated as if they had been non-option arguments to cpio.
-f, --nonmatching
Only copy files that do not match any of the given patterns.
-F, --file=archive
Archive filename to use instead of standard input or output. To use a tape drive on another machine as the archive, use a filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have permission to do so (typically an entry in that user's `~/.rhosts' file).
--force-local
With -F, -I, or -O, take the archive file name to be a local file even if it contains a colon, which would ordinarily indicate a remote host name.
-H FORMAT, --format=FORMAT
Use archive format FORMAT. The valid formats are listed below; the same names are also recognized in all-caps. The default in copy-in mode is to automatically detect the archive format, and in copy-out mode is "bin".

bin
The obsolete binary format.
odc
The old (POSIX.1) portable format.
newc
The new (SVR4) portable format, which supports file systems having more than 65536 i-nodes.
crc
The new (SVR4) portable format with a checksum added.
tar
The old tar format.
ustar
The POSIX.1 tar format. Also recognizes GNU tar archives, which are similar but not identical.
hpbin
The obsolete binary format used by HPUX's cpio (which stores device files differently).
hpodc
The portable format used by HPUX's cpio (which stores device files differently).

-i, --extract
Run in copy-in mode.
-I archive
Archive filename to use instead of standard input. To use a tape drive on another machine as the archive, use a filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have permission to do so (typically an entry in that user's `~/.rhosts' file).
-k
Ignored; for compatibility with other versions of cpio.
-l, --link
Link files instead of copying them, when possible.
-L, --dereference
Dereference symbolic links (copy the files that they point to instead of copying the links).
-m, --preserve-modification-time
Retain previous file modification times when creating files.
-M MESSAGE, --message=MESSAGE
Print MESSAGE when the end of a volume of the backup media (such as a tape or a floppy disk) is reached, to prompt the user to insert a new volume. If MESSAGE contains the string "%d", it is replaced by the current volume number (starting at 1).
-n, --numeric-uid-gid
In the verbose table of contents listing, show numeric UID and GID instead of translating them into names. Also extracts tar archives using the numeric UID and GID instead of the user/group names. (cpio archives are always extracted using the numeric UID and GID.)
--no-absolute-filenames
In copy-in mode, create all files relative to the current directory, even if they have an absolute file name in the archive.
--no-preserve-owner
In copy-in mode and copy-pass mode, do not change the ownership of the files; leave them owned by the user extracting them. This is the default for non-root users, so that users on System V don't inadvertantly give away files.
-o, --create
Run in copy-out mode.
-O archive
Archive filename to use instead of standard output. To use a tape drive on another machine as the archive, use a filename that starts with `HOSTNAME:'. The hostname can be preceded by a username and an `@' to access the remote tape drive as that user, if you have permission to do so (typically an entry in that user's `~/.rhosts' file).
--only-verify-crc
When reading a CRC format archive in copy-in mode, only verify the CRC's of each file in the archive, don't actually extract the files.
-p, --pass-through
Run in copy-pass mode.
--quiet
Do not print the number of blocks copied.
-r, --rename
Interactively rename files.
-R [user][:.][group], --owner [user][:.][group]
In copy-out and copy-pass modes, set the ownership of all files created to the specified user and/or group. Either the user or the group, or both, must be present. If the group is omitted but the ":" or "." separator is given, use the given user's login group. Only the super-user can change files' ownership.
--rsh-command=COMMAND
Notifies mt that it should use COMMAND to communicate with remote devices instead of /usr/bin/ssh or /usr/bin/rsh.
--sparse
In copy-in and copy-pass modes, write files with large blocks of zeros as sparse files.
-s, --swap-bytes
In copy-in mode, swap the bytes of each halfword (pair of bytes) in the files.
-S, --swap-halfwords
In copy-in mode, swap the halfwords of each word (4 bytes) in the files.
-t, --list
Print a table of contents of the input.
-u, --unconditional
Replace all files, without asking whether to replace existing newer files with older files.
-v, --verbose
List the files processed, or with -t, give an `ls -l' style table of contents listing. In a verbose table of contents of a ustar archive, user and group names in the archive that do not exist on the local system are replaced by the names that correspond locally to the numeric UID and GID stored in the archive.
-V --dot
Print a "." for each file processed.
--version
Print the cpio program version number and exit.

Tuesday, March 25, 2008

The Loyal Wife!!

There was a man who had worked all of his life, had saved all of his money, and was a real miser when it came to his money.

Just before he died, he said to his wife, "When I die, I want you to take all my money and put it in the casket with me.
I want to take my money to the afterlife with me."

And so he got his wife to promise him with all of her heart that when he died, she would put all of the money in the casket with him.

Well, he died. He was stretched out in the casket, his wife was sitting there in black, and her friend was sitting next to her.

When they finished the ceremony, just before the undertakers got ready to close the casket, the wife said, "Wait just a minute!"
She had a box her; she came over with the box and put it in the casket.

Then the undertakers locked the casket down, and they rolled it away.

So her friend said, "Girl, I know you weren't fool enough to put all that money in there with your husband."

The loyal wife replied, "Listen, I'm an honest loyal wife, I can't go back on my word.
I promised him that I was going to put that money in that casket with him."

"You mean to tell me you put that money in the casket with him!!!!?"

"I sure did," said the wife. "I got it all together, put it into my account and wrote him a check.. If he can cash it, he can spend it."

Monday, March 24, 2008

Some Fun!

Prospective husband : Do you have a book called 'Man, The Master of Women'?

Sales girl : The fiction department is on the other side, sir.



~~~~~~~~~



Said to a railroad engineer:
What's the use of having a train schedule if the trains are always late.

The reply from the railroad engineer:
How would we know they were late, if we didn't have a schedule?



~~~~~~~~~

~~~~~~~~~



I dropped a coin in sea and prayed for a smart & intelligent friend.

Then God gifted me you and said...
.
.
.
.
.
.
.
.
.
.
.

ITNE PAISE ME TO YAHI MILEGA.... :)



~~~~~~~~~



Boy & Girl in restaurant :
Boy:-I Love u
Girl:-I don't Love u
Boy:- Think again?
Girl:-I told u. No no & no
Boy:-Ok!!! Waiter,bring separate bills.

Girl:- ok ok....... I Love u too........



~~~~~~~~~

Way for a long life!!

Man : Is there any way for long life ?
Doctor : Get married.

Man : Will it help?
Doctor : No, but the thought of long life will never come.

3 detectives!!

A policeman was testing 3 Dumb brothers who were training to become detectives.


To test their skills in recognizing a suspect, he shows the first guy a picture for 5 seconds and then hides it. "This is your suspect, how would you recognize him?" The first guy answers, "That's easy, we'll catch him fast because he only has one eye!"


The policeman says, "Well...uh...that's because the picture I showed is his side profile."



Slightly flustered by this ridiculous response, he flashes the picture for 5 seconds at the second guy and asks him, "This is your suspect, how would you recognize him?"


The second guy smiles and says, "Ha! He'd be too easy to catch because he only has one ear!" The policeman angrily responds,"What's the matter with you two? Of course only one eye and one ear are showing because it's a picture of his side profile! Is that the best answer you can come up with?"


Extremely frustrated at this point, he shows the picture to the third guy and in a very testy voice asks, "This is your suspect, how would you recognize him?


He quickly adds, "Think hard before giving me a stupid answer." The guy looks at the picture intently for a moment and says, "The suspect wears contact lenses."


The policeman is surprised and speechless because he really doesn't know himself if the suspect wears contacts or not. "Well, that's an interesting answer. Wait here for a few minutes while I check his file and I'll get back to you on that."


He leaves the room and goes to his office, checks the suspect's file in his computer, and comes back with a beaming smile on his face.


"Wow! I can't believe it. It's TRUE! The suspect does in fact wear contact lenses. Good work! How were you able to make such an astute observation?"


"That's easy," the guy replied. "He can't wear regular glasses because he only has one eye and one ear."


********

I want a divorce!!

A married couple are driving along a highway doing 60mph, the wife behind the wheel.
Her husband suddenly looks over at her and says, "Honey, I know we've been married for 20 years, but I want a divorce."

The wife says nothing but slowly increases speed to 70 mph.

He then says, "I don't want you to try to talk me out of it, because I've been having an affair with your best friend,
and she's a better lover than you are."

Again the wife stays quiet but speeds up as her anger increases.

"I want the house," he insists, pressing his luck. Again the wife speeds up, to eighty mph.

He says, "I want the car, too," but she just drives faster and faster.

By now she's up to ninety mph. "All right," he says, "I want the bank accounts, and all the credit cards, too."

The wife slowly starts to veer toward a bridge.

This makes him a bit nervous, so he says, "Isn't there anything you want?"

The wife says, "No, I've got everything I need."

"Oh, really," he says, "so what have you got?"

Right before they slam into the wall at a 100 mph, the wife smiles and says, " The airbag."

Thursday, March 20, 2008

Do u Marry Again !!!

Husband: if I die, will u remarry?
Wife: no, I'll stay with my sister.

Wife: if I die will u remarry?
Husband: no I'll also stay with your sister.

Hospital fun!!!

Peter called his doctor's office for an appointment.

"I'm sorry," said the receptionist, "we can't fit you in for at least two weeks."

"But I could be dead by then!"

"No problem. If your wife lets us know, we'll cancel the appointment. "

**********

Patient: Nurse, I keep seeing spots in front of my eyes.

Nurse: Have you seen a doctor?

Patient: No, just spots.

Unopened CDs!!!

There was once a guy who suffered from cancer... a cancer that can't be treated.
He was 18 years old and he could die anytime. All his life, he was stuck in his house being taken cared by his mother.
He never went outside but he was sick of staying home and wanted to go out for once.

So he asked his mother and she gave him permission. He walked down his block and found a lot of stores.

He passed a CD store and looked through the front door for a second as he walked.
He stopped and went back to look into the store.
He saw a young girl about his age and he knew it was love at first sight.
He opened the door and walked in, not looking at anything else but her.
He walked closer and closer until he was finally at the front desk where she sat.

She looked up and asked "Can I help you?" She smiled and he thought it was the most beautiful smile he has ever seen before and wanted to kiss her right there.

He said "Uh... Yeah... Umm... I would like to buy a CD." He picked one out and gave her money for it.

"Would you like me to wrap it for you?" she asked, smiling her cute smile again.

He nodded and she went to the back.

She came back with the wrapped CD and gave it to him. He took it and walked out of the store.
He went home and from then on, he went to that store everyday and bought a CD, and she wrapped it for him.
He took the CD home and put it in his closet. He was still too shy to ask her out and he really wanted to but he couldn't.
His mother found out about this and told him to just ask her.

So the next day, he took all his courage and went to the store. He bought a CD like he did everyday and once again she went to the back of the store and came back with it wrapped.
He took it and when she wasn't looking, he left his phone number on the desk and ran out...

------------------

!!!RRRRRING!!!

The mother picked up the phone and said, "Hello?"

It was the girl!!! She asked for the boy and the mother started to cry and said, "You don't know? He passed away yesterday..."

The line was quiet except for the cries of the boy's mother.

Later in the day. the mother went into the boy's room because she wanted to remember him. She thought she would start by looking at his clothes.
So she opened the closet. She was face to face with piles and piles and piles of unopened CDs. She was surprised to find all those CDs and she picked one up and sat down on the bed and she started to open one.

Inside, there was a CD and as she took it out of the wrapper, out fell a piece of paper. The mother picked it up and started to read it.

It said: Hi... I think U R really cute. Do u wanna go out with me? Love, Jacelyn The mother opened another CD...

Again there was a piece of paper. It said: Hi... I think U R really cute. Do u wanna go out with me? Love, Jacelyn

Love is... when you've had a huge fight but then decide to put aside your egos, hold hands and say, "I Love You . . . "

------------------


If you Really Love Someone please Expressed your feeling and let them know how much you Love them,
That person might also love you in the same way as you love them Before it is too late................

Fresh Fish!!!!

The Japanese have always loved fresh fish.

But the waters close to Japan have not held many fish for decades.

So to feed the Japanese population, fishing boats got bigger and went farther than ever.

The farther the fishermen went, the longer it took to bring in the fish.



If the return trip took more than a few days, the fish were not fresh. The Japanese did not like the taste.

To solve this problem, fishing companies installed freezers on their boats.

They would catch the fish and freeze them at sea. Freezers allowed the boats to go farther and stay longer.

However, the Japanese could taste the difference between fresh and frozen and they did not like frozen fish.

The frozen fish brought a lower price. So fishing companies installed fish tanks. They would catch the fish and stuff them in the tanks, fin to fin.

After a little thrashing around, the fish stopped moving.

They were tired and dull, but alive. Unfortunately, the Japanese could still taste the difference.

Because the fish did not move for days, they lost their fresh-fish taste.

The Japanese preferred the lively taste of fresh fish, not sluggish fish.

So how did Japanese fishing companies solve this problem? How do they get fresh-tasting fish to Japan?



If you were consulting the fish industry, what would you recommend?

scroll down for answer :

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.


Here is How Japanese Fish Stay Fresh:

To keep the fish tasting fresh, the Japanese fishing companies still put the fish in the tanks.

But now they add a small shark to each tank. The shark eats a few fish, but most of the fish arrive in a very lively state. The fish are challenged.

Have you realized that some of us are also living in a pond but most of the time tired & dull,

so we need a Shark in our life to keep us awake and moving?

Basically in our lives Sharks are new challenges to keep us active and lively.....

Worms ....!!!!

A professor of chemistry wanted to teach his 5th grade class a lesson about The evils of liquor,

so he produced an experiment that involved a glass of water,

A glass of whiskey, and two worms.

"Now, class. Observe closely the worms," said the professor putting a worm first into the water. The worm in the water writhed about, happy as a worm in water could be.

The second worm, he put into the whiskey. It writhed painfully, and quickly sank to the bottom, dead as a doornail.

"Now, what lesson can we derive from this experiment?" the professor asked. Johnny, who naturally sits in back, raised his hand and wisely, responded, "Drink whiskey and you won't get worms."

Junior!!

A woman wanted to reach her husband on his mobile phone but discovered that she was out of credit, She instructed her son to use his own phone to pass across an urgent message to his daddy who was on site.

After junior had called, he got back to mummy to inform her that there was a lady that picked up daddy's phone the three times he tried reaching dad on the mobile.

Women!!

She waited impatiently for her husband to return from work and upon seeing him in the driveway, she rushed out and gave him a tight slap, and she slapped him again, for good measure.

People from the neighborhood rushed around to find out what the cause of the commotion was.

The woman asked junior to tell everybody what the lady said to him when he called.

Junior said

"The subscriber you have dialed is not available at present. Please Try Again Later"...

never judged anyone by their appearance again!!!!

One beautiful spring day a red rose blossomed in a forest. Many kinds of trees and plants grew there. As the rose looked around, a pine tree nearby said, "What a beautiful flower. I wish I was that lovely."

Another tree said, "Dear pine, do not be sad, we can not have everything."

The rose turned its head and remarked, "It seems that I am the most beautiful plant in this forest."

A sunflower raised its yellow head and asked, "Why do you say that? In this forest there are many beautiful plants. You are just one of them." The red rose replied, "I see everyone looking at me and admiring me."

Then the rose looked at a cactus and said, "Look at that ugly plant full of thorns!" The pine tree said, "Red rose, what kind of talk is this? Who can say what beauty is? You have thorns too."

The proud red rose looked angrily at the pine and said, "I thought you had good taste! You do not know what beauty is at all. You can not compare my thorns to that of the cactus."

"What a proud flower", thought the trees.

The rose tried to move its roots away from the cactus, but it could not move. As the days passed, the red rose would look at the cactus and say insulting things, like: This plant is useless? How sorry I am to be his neighbor."

The cactus never got upset and he even tried to advise the rose, saying, "God did not create any form of life without a purpose."

Spring passed, and the weather became very warm. Life became difficult in the forest, as the plants and animals needed water and no rain fell. The red rose began to wilt. One day the rose saw sparrows stick their beaks into the cactus and then fly away, refreshed.

This was puzzling, and the red rose asked the pine tree what the birds were doing. The pine tree explained that the birds got water from the cactus. "Does it not hurt when they make holes?" asked the rose.

"Yes, but the cactus does not like to see any birds suffer," replied the pine.

The rose opened its eyes in wonder and said, "The cactus has water?"

"Yes you can also drink from it. The sparrow can bring water to you if you ask the cactus for help."

The red rose felt too ashamed of its past words and behavior to ask for water from the cactus, but then it finally did ask the cactus for help. The cactus kindly agreed and the birds filled their beaks with water and watered the rose's roots.

Best joke in Britan !!!

A Chinese walks into a bar in America late one night and he saw Steven Spielberg.

As he was a great fan of his movies, he rushes over to him, and asks for his autograph.

Instead, Spielberg gives him a slap and says, "You Chinese people bombed our Pearl Habour, get outta here."

The astonished Chinese man replied, "It was not the Chinese who bombed your PearlHarbour, it was the Japanese".

"Chinese, Japanese, Taiwanese, you're all the same," replied Spielberg.

In return, the Chinese gives Spielberg a slap and says, "You sank the Titanic, my forefathers were on that ship."

Shocked, Spielberg replies, "It was the iceberg that sank the ship, not me."

The Chinese replies, "Iceberg, Spielberg, Carlsberg, you're all the same."


( This particular joke won an award for the best joke in a competition organized in Britain )

Nail In The Fence!!!

There once was a little boy who had a bad temper.

His Father gave him a bag of nails and told him that every time he lost his temper, he must hammer a nail into the back of the fence.

The first day the boy had driven 37 nails into the fence.



Over the next few weeks, as he learned to control his anger,the number of nails hammered daily gradually dwindled down. He discovered it was easier to hold his temper than to drive those nails into the fence.

Finally the day came when the boy didn't lose his temper at all. He told his father about it and the father suggested that the boy now pull out one nail for each day that he was able to hold his temper.

The days passed and the young boy was finally able to tell his father that all the nails were gone.

The father took his son by the hand and led him to the fence. He said, "You have done well, my son, but look at the holes in the fence.

The fence will never be the same.

When you say things in anger, they leave a scar just like this one. You can put a knife in a man and draw it out.

It won't matter how many times you say I'm sorry, the wound is still there."

A verbal wound is as bad as a physical one. Friends are very rare jewels, indeed. They make you smile and encourage you to succeed. They lend an ear, they share words of praise and they always want to open their hearts to us."

please ! make me women ....

A man was sick and tired of goingto work every day while his wife stayed home.

He wanted her to see what he went through so he prayed:

"Dear Lord: I go to work every day and put in 8 hours while my wife merely stays at home.

I want her to know what I go through, so please allow her body to switch with mine for a day. Amen.

God, in his infinite wisdom, granted the man'swish.

The next morning, sure enough, the man awoke as a woman.

He arose, cooked breakfast forhis mate, awakened the kids,

Set out their school clothes, fed them breakfast, packed their lunches,

Drove them to school, came home andpicked up the dry cleaning, took it to the cleaners

And stopped at the bank to make a deposit, went grocery shopping,

Then drove home to put away the groceries,

Paid the bills and balanced the checkbook.

He cleaned the cat's litter box andbathed the dog.

Then it was already 1 P.M.and he hurried to make the beds,do the laundry, vacuum, dust, and sweep and mop the kitchen floor.

Ran to the school to pick up the kids and got into an argument with them on the way home.

Set out milk and cookies and got the kids organized to do their homework,

Then set up the ironing board and watched TV while he did the ironing.

At 4:30 he began peelingpotatoes and washing vegetables for salad, breaded the pork chops and snapped fresh beans for supper.

After supper, he cleaned the kitchen, ran the dishwasher, folded laundry, bathed the kids, and put them to bed. At 9 P.M. he was exhausted and,



though his daily chores weren'tfinished, he went to bed where he was expected to make love, which he managed to get through without complaint.

The next morning, he awoke and immediately knelt by the bed and said, Lord,

I don't know what I was thinking. Iwas so wrong to envy my wife's being able to stay home all day. Please, oh please, let us trade back."

The Lord, in his infinite wisdom, replied, "My son, I feel you have learned your lesson and I will be happy to change things back to the way they were.

You'll just have to wait nine months,though. You got pregnant last night."

Conclusion!!!!

Sardar is in a dissection class of cockroach. He cuts its 1 leg, and says,

"chal", it walks.

He cuts 2nd and 3rd legs and said, "chal" , it walks.

He cuts all the legs and said, "chal...." Finally he wrote the conclusion......

..... "after all the legs of a cockroach are cut - it becomes deaf......"



~~~~~~~~~



Sardar shouting 2 his girl friend " u said v will do register marriage and cheated me,
I was waiting 4 u yesterday whole day in the post office...."



~~~~~~~~~



A Tamilian call up sardar and asks " Tamil therima??"

Sardar got mad, angrily replied.... "Hindi tera baap!!!"



~~~~~~~~~



2 sardars are driving a Car,

One puts on the indicator and asks the other to check whether its working,

He puts his head out and says - YES...NO...YES...NO...YES...NO...

This is the maid !! (Little Fun)

A guy dials his home and a strange woman answers.

The guy says, "Who is this?"

"This is the maid," answers the woman.

"We don't have a maid," says the man.

The woman says, "I was hired this morning by the woman of the house."

The man says, "Well, this is her husband. Is she there?"

The woman replies, "She is upstairs in the bed room with someone who I figured was her husband."

The guy is fuming and says to the maid, "Listen, would you like to make 50,000?"

The maid asks, "What will I have to do?"

The man tells her, "I want you to get my gun from the desk, and shoot the Bitch and the jerk she's with."

The maid puts the phone down; the man hears footsteps and then two gun shots.

The maid comes back to the phone, "What do I do with the bodies?"

The man says, "Throw them in the swimming pool."

Puzzled, the maid answers, "But you don't have a pool."


A long pause and the man asks, "Oops..! Is this 2261-1382?"

Study in US get Green card easily...

Get a master's degree from a US university and you could be sitting on an immigration goldmine.

According to reports, a new US Senate proposal would allow limitless H1-B visas and green cards for foreigners with master’s degrees or higher in any field from an American university — or anyone with such credentials in the science, technology, engineering or math fields from abroad.

That number could climb by 20% in each subsequent year, to as high as 180,000 if the previous year's quota was exhausted.

Right now, there's also a 20,000 visa cap beyond the existing H1-B quota for foreigners who have advanced degrees in the US. The new Senate Bill would remove that cap. It would also broaden the exemption from the H1-B limit beyond just those with advanced degrees to include foreigners with 'medical specialty certification based on post-doctoral training and experience in the United States'.

According to government sources, the private sector is woefully inadequate to tackle this perception in the US, even though Nasscom has proposed a "professional visa" which has been forwarded in the CEO's Forum between US and India.

In a statement, Lieberman, who may even run for president in 2008, said, "To remain competitive, American companies need access to highly educated individuals. But today's system makes it difficult for innovative employers to recruit and retain highly educated talent, which puts the US at a competitive disadvantage globally."

The Bill also safeguards these H1-B visas from abuse — it would prohibit companies from advertising jobs solely to H1-B immigrants or indicating preference for such workers. It would limit the number of employees on H1-B to no more than half a company's workforce. It would also double fines for employers that violate H1-B programme requirements.

The Bill drew immediate applause from Microsoft, whose high-powered chairman Bill Gates recently urged Congress again to allow for infinite quantities of the work permits.

But there are other groups that prefer a Bill introduced earlier this year by two other senators, Chuck Grassley and Dick Durbin that attempts to prevent H1-B abuse by imposing a number of new obligations on employers.

High-tech companies have protested these obligations as too overbearing. Employers would have to certify that they had made a "good faith" effort to hire an American before taking on an H1-B worker and that the foreigner was not displacing a prospective US worker. That Bill's sponsors on Monday issued inquiries to a number of Indian companies, targeting statistics showing some of them were among the top 20 H1-B recipients last year.

H1B allocation this Year

The United States has proposed a new rule prohibiting the employers from filing multiple applications for H-1B visa, widely sought by Indians, for the same employee to ensure a fair and orderly distribution of available visas.

"To ensure a fair and orderly distribution of available H-1B visas, USCIS will deny or revoke multiple petitions filed by an employer for the same H-1B worker and will not refund the filing fees submitted with multiple or duplicative petitions," the US Citizenship and Immigration Services said in an announcement.


The Congress has set a limit of 65,000 for most H-1B workers for the fiscal 2009.


Additionally, the first 20,000 H-1B workers who have a US Master's degree or higher are exempted from the cap.

Under current procedures, which are not changed by this rule, once USCIS receives 20,000 petitions for aliens with a US Master's degree or higher, all other cases requesting the educational exemption are counted toward the 65,000 cap.

Once the 65,000 cap is reached for a fiscal year, USCIS will announce that the cap has been filled and reject further petitions subject to the cap.

The rule also stipulates that if USCIS determines the number of H-1B petitions received meets the cap within the first five business days of accepting applications for the coming fiscal year, USCIS will apply a random selection process among all H-1B petitions received during this time period.

"If the 20,000 advanced degree limit is reached during the first five business days, USCIS will randomly select from those petitions ahead of conducting the random selection for the 65,000 limit. Petitions subject to the 20,000 limit that are not selected in that random selection will be considered with the other H-1B petitions in the random selection for the 65,000 limit," the agency said.

The rule further clarifies that USCIS will deny petitions that incorrectly claim an exemption from any H-1B numerical limits and those filing fees will not be returned.


stat() function



stat
, fstat, lstat - get file status

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

int stat(const char *path, struct stat *buf);
int fstat(int filedes, struct stat *buf);
int lstat(const char *path, struct stat *buf);


Description

These functions return information about a file. No permissions are required on the file itself, but -- in the case of stat() and lstat() -- execute (search) permission is required on all of the directories in path that lead to the file.

stat() stats the file pointed to by path and fills in buf.

lstat() is identical to stat(), except that if path is a symbolic link, then the link itself is stat-ed, not the file that it refers to.

fstat() is identical to stat(), except that the file to be stat-ed is specified by the file descriptor filedes.


All of these system calls return a stat structure, which contains the following fields:

struct stat {
dev_t st_dev; /* ID of device containing file */
ino_t st_ino; /* inode number */
mode_t st_mode; /* protection */
nlink_t st_nlink; /* number of hard links */
uid_t st_uid; /* user ID of owner */
gid_t st_gid; /* group ID of owner */
dev_t st_rdev; /* device ID (if special file) */
off_t st_size; /* total size, in bytes */
blksize_t st_blksize; /* blocksize for filesystem I/O */
blkcnt_t st_blocks; /* number of blocks allocated */
time_t st_atime; /* time of last access */
time_t st_mtime; /* time of last modification */
time_t st_ctime; /* time of last status change */
};
The following flags are defined for the st_mode field:
S_IFMT 0170000 bitmask for the file type bitfields
S_IFSOCK 0140000 socket
S_IFLNK 0120000 symbolic link
S_IFREG 0100000 regular file
S_IFBLK 0060000 block device
S_IFDIR 0040000 directory
S_IFCHR 0020000 character device
S_IFIFO 0010000 FIFO
S_ISUID 0004000 set UID bit
S_ISGID 0002000 set-group-ID bit (see below)
S_ISVTX 0001000 sticky bit (see below)
S_IRWXU 00700 mask for file owner permissions
S_IRUSR 00400 owner has read permission
S_IWUSR 00200 owner has write permission
S_IXUSR 00100 owner has execute permission
S_IRWXG 00070 mask for group permissions
S_IRGRP 00040 group has read permission
S_IWGRP 00020 group has write permission
S_IXGRP 00010 group has execute permission
S_IRWXO 00007 mask for permissions for others (not in group)
S_IROTH 00004 others have read permission
S_IWOTH 00002 others have write permission
S_IXOTH 00001 others have execute permission

Linux Notes

Since kernel 2.5.48, the stat structure supports nanosecond resolution for the three file timestamp fields. Glibc exposes the nanosecond component of each field using names either of the form st_atim.tv_nsec, if the _BSD_SOURCE or _SVID_SOURCE feature test macro is defined, or of the form st_atimensec, if neither of these macros is defined. On file systems that do not support sub-second timestamps, these nanosecond fields are returned with the value 0.

For most files under the /proc directory, stat() does not return the file size in the st_size field; instead the field is returned with the value 0.

Return Value

On success, zero is returned. On error, -1 is returned, and errno is set appropriately.

Wednesday, March 19, 2008

What is Effective Communication??

What is Effective Communication ??

Jack and Max are walking from religious service. Jack wonders whether it would
be all right to smoke while praying.

Max replies, "Why don't you ask the Priest?"

So Jack goes up to the Priest and asks, "Priest,may I smoke while I pray?"

But the Priest says,
"No, my son, you may not. That's utter disrespect to our religion."

Jack goes back to his friend and tells him what the good Priest told him.

Max says, "I'm not surprised. You asked the wrong question. Let me try."

And so Max goes up to the Priest and asks, "Priest, may I pray while I smoke?"

To which the Priest eagerly replies, "By all means, my son. By all means."

Moral : The reply you get depends on the question you ask.


For Example : Can I work on this project while I'm on vacation ?!?

Linux CLI commands

CommandDescription
apropos whatisShow commands pertinent to string. See also threadsafe
man -t man | ps2pdf - > man.pdfmake a pdf of a manual page
which commandShow full path name of command
time commandSee how long a command takes
time catStart stopwatch. Ctrl-d to stop. See also sw
nice infoRun a low priority command (The "info" reader in this case)
renice 19 -p $$Make shell (script) low priority. Use for non interactive tasks
dir navigation
cd -Go to previous directory
cdGo to $HOME directory
(cd dir && command)Go to dir, execute command and return to current dir
pushd .Put current dir on stack so you can popd back to it
alias l='ls -l --color=auto'quick dir listing
ls -lrtList files by date. See also newest and find_mm_yyyy
ls /usr/bin | pr -T9 -W$COLUMNSPrint in 9 columns to width of terminal
find -name '*.[ch]' | xargs grep -E 'expr'Search 'expr' in this dir and below. See also findrepo
find -type f -print0 | xargs -r0 grep -F 'example'Search all regular files for 'example' in this dir and below
find -maxdepth 1 -type f | xargs grep -F 'example'Search all regular files for 'example' in this dir
find -maxdepth 1 -type d | while read dir; do echo $dir; echo cmd2; doneProcess each item with multiple commands (in while loop)
find -type f ! -perm -444Find files not readable by all (useful for web site)
find -type d ! -perm -111Find dirs not accessible by all (useful for web site)
locate -r 'file[^/]*\.txt'Search cached index for names. This re is like glob *file*.txt
look referenceQuickly search (sorted) dictionary for prefix
grep --color reference /usr/share/dict/wordsHighlight occurances of regular expression in dictionary
archives and compression
gpg -c fileEncrypt file
gpg file.gpgDecrypt file
tar -c dir/ | bzip2 > dir.tar.bz2Make compressed archive of dir/
bzip2 -dc dir.tar.bz2 | tar -xExtract archive (use gzip instead of bzip2 for tar.gz files)
tar -c dir/ | gzip | gpg -c | ssh user@remote 'dd of=dir.tar.gz.gpg'Make encrypted archive of dir/ on remote machine
find dir/ -name '*.txt' | tar -c --files-from=- | bzip2 > dir_txt.tar.bz2Make archive of subset of dir/ and below
find dir/ -name '*.txt' | xargs cp -a --target-directory=dir_txt/ --parentsMake copy of subset of dir/ and below
( tar -c /dir/to/copy ) | ( cd /where/to/ && tar -x -p )Copy (with permissions) copy/ dir to /where/to/ dir
( cd /dir/to/copy && tar -c . ) | ( cd /where/to/ && tar -x -p )Copy (with permissions) contents of copy/ dir to /where/to/
( tar -c /dir/to/copy ) | ssh -C user@remote 'cd /where/to/ && tar -x -p' Copy (with permissions) copy/ dir to remote:/where/to/ dir
dd bs=1M if=/dev/sda | gzip | ssh user@remote 'dd of=sda.gz'Backup harddisk to remote machine
rsync (Use the --dry-run option for testing)
rsync -P rsync://rsync.server.com/path/to/file fileOnly get diffs. Do multiple times for troublesome downloads
rsync --bwlimit=1000 fromfile tofileLocally copy with rate limit. It's like nice for I/O
rsync -az -e ssh --delete ~/public_html/ remote.com:'~/public_html'Mirror web site (using compression and encryption)
rsync -auz -e ssh remote:/dir/ . && rsync -auz -e ssh . remote:/dir/Synchronize current directory with remote one
ssh (Secure SHell)
ssh $USER@$HOST commandRun command on $HOST as $USER (default command=shell)
ssh -f -Y $USER@$HOSTNAME xeyesRun GUI command on $HOSTNAME as $USER
scp -p -r $USER@$HOST: file dir/Copy with permissions to $USER's home directory on $HOST
ssh -g -L 8080:localhost:80 root@$HOSTForward connections to $HOSTNAME:8080 out to $HOST:80
ssh -R 1434:imap:143 root@$HOSTForward connections from $HOST:1434 in to imap:143
wget (multi purpose download tool)
(cd cli && wget -nd -pHEKk http://www.pixelbeat.org/cmdline.html)Store local browsable version of a page to the current dir
wget -c http://www.example.com/large.fileContinue downloading a partially downloaded file
wget -r -nd -np -l1 -A '*.jpg' http://www.example.com/dir/Download a set of files to the current directory
wget ftp://remote/file[1-9].iso/FTP supports globbing directly
wget -q -O- http://www.pixelbeat.org/timeline.html | grep 'a href' | headProcess output directly
echo 'wget url' | at 01:00Download url at 1AM to current dir
wget --limit-rate=20k urlDo a low priority download (limit to 20KB/s in this case)
wget -nv --spider --force-html -i bookmarks.htmlCheck links in a file
wget --mirror http://www.example.com/Efficiently update a local copy of a site (handy from cron)
networking (Note ifconfig, route, mii-tool, nslookup commands are obsolete)
ethtool eth0Show status of ethernet interface eth0
ethtool --change eth0 autoneg off speed 100 duplex fullManually set ethernet interface speed
iwconfig eth1Show status of wireless interface eth1
iwconfig eth1 rate 1Mb/s fixedManually set wireless interface speed
iwlist scanList wireless networks in range
ip link showList network interfaces
ip link set dev eth0 name wanRename interface eth0 to wan
ip link set dev eth0 upBring interface eth0 up (or down)
ip addr showList addresses for interfaces
ip addr add 1.2.3.4/24 brd + dev eth0Add (or del) ip and mask (255.255.255.0)
ip route showList routing table
ip route add default via 1.2.3.254Set default gateway to 1.2.3.254
tc qdisc add dev lo root handle 1:0 netem delay 20msecAdd 20ms latency to loopback device (for testing)
tc qdisc del dev lo rootRemove latency added above
host pixelbeat.orgLookup DNS ip address for name or vice versa
hostname -iLookup local ip address (equivalent to host `hostname`)
whois pixelbeat.orgLookup whois info for hostname or ip address
netstat -tuplList internet services on a system
netstat -tupList active connections to/from system
windows networking (Note samba is the package that provides all this windows specific networking support)
smbtreeFind windows machines. See also findsmb
nmblookup -A 1.2.3.4Find the windows (netbios) name associated with ip address
smbclient -L windows_boxList shares on windows machine or samba server
mount -t smbfs -o fmask=666,guest //windows_box/share /mnt/shareMount a windows share
echo 'message' | smbclient -M windows_boxSend popup to windows machine (off by default in XP sp2)
text manipulation (Note sed uses stdin and stdout, so if you want to edit files, append newfile)
sed 's/string1/string2/g'Replace string1 with string2
sed 's/\(.*\)1/\12/g'Modify anystring1 to anystring2
sed '/ *#/d; /^ *$/d'Remove comments and blank lines
sed ':a; /\\$/N; s/\\\n//; ta'Concatenate lines with trailing \
sed 's/[ \t]*$//'Remove trailing spaces from lines
sed 's/\([\\`\\"$\\\\]\)/\\\1/g'Escape shell metacharacters active within double quotes
seq 10 | sed "s/^/ /; s/ *\(.\{7,\}\)/\1/"Right align numbers
sed -n '1000p;1000q'Print 1000th line
sed -n '10,20p;20q'Print lines 10 to 20
sed -n 's/.*\(.*\)<\/title>.*/\1/ip;<acronym title="quit after match">T;q</acronym>'</td><td>Extract title from HTML web page</td></tr> <tr><td> </td><td class="nw">sort -t. -k1,1n -k2,2n -k3,3n -k4,4n</td><td>Sort IPV4 ip addresses</td></tr> <tr><td>•</td><td class="nw">echo 'Test' | tr '[:lower:]' '[:upper:]'</td><td>Case conversion</td></tr> <tr><td>•</td><td class="nw">tr -dc '[:print:]' < /dev/urandom</td><td>Filter non printable characters</td></tr> <tr><td>•</td><td class="nw">history | wc -l</td><td>Count lines</td></tr> <tr id="sets" class="pbtitle"><td colspan="3"><b>set operations</b> (Note you can <a href="http://www.pixelbeat.org/docs/env.html">export LANG=C</a> for speed. Also these assume no duplicate lines within a file)</td></tr> <tr><td> </td><td class="nw">sort file1 file2 | uniq</td><td><acronym title="Items in either file1 or file2">Union</acronym> of unsorted files</td></tr> <tr><td> </td><td class="nw">sort file1 file2 | uniq -d</td><td><acronym title="Items both in file1 and file2">Intersection</acronym> of unsorted files</td></tr> <tr><td> </td><td class="nw">sort file1 file1 file2 | uniq -u</td><td><acronym title="Items in file2 not in file1">Difference</acronym> of unsorted files</td></tr> <tr><td> </td><td class="nw">sort file1 file2 | uniq -u</td><td><acronym title="Items in only one file">Symmetric Difference</acronym> of unsorted files</td></tr> <tr><td> </td><td class="nw">join -a1 -a2 file1 file2</td><td>Union of sorted files</td></tr> <tr><td> </td><td class="nw">join file1 file2</td><td>Intersection of sorted files</td></tr> <tr><td> </td><td class="nw">join -v2 file1 file2</td><td>Difference of sorted files</td></tr> <tr><td> </td><td class="nw">join -v1 -v2 file1 file2</td><td>Symmetric Difference of sorted files</td></tr> <tr id="math" class="pbtitle"><td colspan="3"><b>math</b></td></tr> <tr><td>•</td><td class="nw">echo '(1 + sqrt(5))/2' | bc -l</td><td>Quick math (Calculate φ). See also <a href="http://www.pixelbeat.org/scripts/bc">bc</a></td></tr> <tr><td>•</td><td class="nw">echo 'pad=20; min=64; (100*10^6)/((pad+min)*8)' | bc</td><td>More complex (int) e.g. This shows max FastE packet rate</td></tr> <tr><td>•</td><td class="nw">echo 'pad=20; min=64; print (100E6)/((pad+min)*8)' | python</td><td>Python handles scientific notation</td></tr> <tr><td>•</td><td class="nw">echo 'pad=20; plot [64:1518] (100*10**6)/((pad+x)*8)' | gnuplot -persist</td><td>Plot FastE packet rate vs packet size</td></tr> <tr><td>•</td><td class="nw">echo 'obase=16; ibase=10; 64206' | bc</td><td>Base conversion (decimal to hexadecimal)</td></tr> <tr><td>•</td><td class="nw">echo $((0x2dec))</td><td>Base conversion (hex to dec) ((shell arithmetic expansion))</td></tr> <tr><td>•</td><td class="nw">units -t '100m/9.74s' 'miles/hour'</td><td>Unit conversion (metric to imperial)</td></tr> <tr><td>•</td><td class="nw">units -t '500GB' 'GiB'</td><td>Unit conversion (<acronym title="powers of 10">SI</acronym> to <acronym title="powers of 2">IEC</acronym> prefixes)</td></tr> <tr><td>•</td><td class="nw">units -t '1 googol'</td><td>Definition lookup</td></tr> <tr><td>•</td><td class="nw">seq 100 | (tr '\n' +; echo 0) | bc</td><td>Add a column of numbers. See also <a href="http://www.pixelbeat.org/scripts/add">add</a> and <a href="http://www.pixelbeat.org/scripts/funcpy">funcpy</a></td></tr> <tr id="dates" class="pbtitle"><td colspan="3"><b>calendar</b></td></tr> <tr><td>•</td><td class="nw">cal -3</td><td>Display a calendar</td></tr> <tr><td>•</td><td class="nw">cal 9 1752</td><td>Display a calendar for a particular month year</td></tr> <tr><td>•</td><td class="nw">date -d fri</td><td>What date is it this friday. See also <a href="http://www.pixelbeat.org/scripts/day">day</a></td></tr> <tr><td>•</td><td class="nw">date --date='25 Dec' +%A</td><td>What day does xmas fall on, this year</td></tr> <tr><td>•</td><td class="nw">date --date '1970-01-01 UTC 2147483647 seconds'</td><td>Convert number of seconds since the epoch to a date</td></tr> <tr><td>•</td><td class="nw">TZ=':America/Los_Angeles' date</td><td>What time is it on West coast of US (use tzselect to find TZ)</td></tr> <tr><td> </td><td class="nw">echo "mail -s 'get the train' P@draigBrady.com < /dev/null" | at 17:45</td><td>Email reminder</td></tr> <tr><td>•</td><td class="nw">echo "DISPLAY=$DISPLAY xmessage cooker" | at "NOW + 30 minutes"</td><td>Popup reminder</td></tr> <tr id="locale" class="pbtitle"><td colspan="3"><b>locales</b></td></tr> <tr><td>•</td><td class="nw">printf "%'d\n" 1234</td><td>Print number with thousands grouping appropriate to locale</td></tr> <tr><td>•</td><td class="nw">BLOCK_SIZE=\'1 ls -l</td><td>get ls to do thousands grouping appropriate to locale</td></tr> <tr><td>•</td><td class="nw">echo "I live in `locale territory`"</td><td>Extract info from locale database</td></tr> <tr><td>•</td><td class="nw">LANG=en_IE.utf8 locale int_prefix</td><td>Lookup locale info for specific country. See also <a href="http://www.pixelbeat.org/scripts/ccodes">ccodes</a></td></tr> <tr><td>•</td><td class="nw">locale | cut -d= -f1 | xargs locale -kc | less</td><td>List fields available in locale database</td></tr> <tr id="recode" class="pbtitle"><td colspan="3"><b>recode</b> (Obsoletes iconv, dos2unix, unix2dos)</td></tr> <tr><td>•</td><td class="nw">recode -l | less</td><td>Show available conversions (aliases on each line)</td></tr> <tr><td> </td><td class="nw">recode windows-1252.. file_to_change.txt</td><td>Windows "ansi" to local charset (auto does CRLF conversion)</td></tr> <tr><td> </td><td class="nw">recode utf-8/CRLF.. file_to_change.txt</td><td>Windows utf8 to local charset</td></tr> <tr><td> </td><td class="nw">recode iso-8859-15..utf8 file_to_change.txt</td><td>Latin9 (western europe) to utf8</td></tr> <tr><td> </td><td class="nw">recode ../b64 <> file.b64</td><td>Base64 encode</td></tr> <tr><td> </td><td class="nw">recode /qp.. <> file.qp</td><td>Quoted printable decode</td></tr> <tr><td> </td><td class="nw">recode ..HTML <> file.html</td><td>Text to HTML</td></tr> <tr><td>•</td><td class="nw">recode -lf windows-1252 | grep euro</td><td>Lookup <a href="http://www.pixelbeat.org/docs/utf8.html">table of characters</a></td></tr> <tr><td>•</td><td class="nw">echo -n 0x80 | recode latin-9/x1..dump</td><td>Show what a code represents in latin-9 charmap</td></tr> <tr><td>•</td><td class="nw">echo -n 0x20AC | recode ucs-2/x2..latin-9/x</td><td>Show latin-9 encoding</td></tr> <tr><td>•</td><td class="nw">echo -n 0x20AC | recode ucs-2/x2..utf-8/x</td><td>Show utf-8 encoding</td></tr> <tr id="CDs" class="pbtitle"><td colspan="3"><b><acronym title="Compact Disks">CDs</acronym></b></td></tr> <tr><td> </td><td class="nw">gzip < /dev/cdrom > cdrom.iso.gz</td><td>Save copy of data cdrom</td></tr> <tr><td> </td><td class="nw">mkisofs -V LABEL -r dir | gzip > cdrom.iso.gz</td><td>Create cdrom image from contents of dir</td></tr> <tr><td> </td><td class="nw">mount -o loop cdrom.iso /mnt/dir</td><td>Mount the cdrom image at /mnt/dir (read only)</td></tr> <tr><td> </td><td class="nw">cdrecord -v dev=/dev/cdrom blank=fast</td><td>Clear a CDRW</td></tr> <tr><td> </td><td class="nw">gzip -dc cdrom.iso.gz | cdrecord -v dev=/dev/cdrom -</td><td>Burn cdrom image (use dev=ATAPI -scanbus to confirm dev)</td></tr> <tr><td> </td><td class="nw">cdparanoia -B</td><td>Rip audio tracks from CD to wav files in current dir</td></tr> <tr><td> </td><td class="nw">cdrecord -v dev=/dev/cdrom -audio *.wav</td><td>Make audio CD from all wavs in current dir (see also cdrdao)</td></tr> <tr><td> </td><td class="nw">oggenc --tracknum='track' track.cdda.wav -o 'track.ogg'</td><td>Make ogg file from wav file</td></tr> <tr id="disk_space" class="pbtitle"><td colspan="3"><b>disk space</b> (See also <a href="http://www.pixelbeat.org/fslint/">FSlint</a>)</td></tr> <tr><td>•</td><td class="nw">ls -lSr</td><td>Show files by size, biggest last</td></tr> <tr><td>•</td><td class="nw">du -s * | sort -k1,1rn | head</td><td>Show top disk users in current dir. See also <a href="http://www.pixelbeat.org/scripts/dutop">dutop</a></td></tr> <tr><td>•</td><td class="nw">df -h</td><td>Show free space on mounted filesystems</td></tr> <tr><td>•</td><td class="nw">df -i</td><td>Show free inodes on mounted filesystems</td></tr> <tr><td>•</td><td class="nw"><acronym title="usually in /sbin/">fdisk</acronym> -l</td><td>Show disks partitions sizes and types (run as root)</td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/docs/packaging.html">rpm</a> -q -a --qf '%10{SIZE}\t%{NAME}\n' | sort -k1,1n</td><td>List all <a href="http://www.pixelbeat.org/docs/packaging.html">packages</a> by installed size (Bytes) on rpm distros</td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/docs/packaging.html">dpkg</a>-query -W -f='${Installed-Size;10}\t${Package}\n' | sort -k1,1n</td><td>List all <a href="http://www.pixelbeat.org/docs/packaging.html">packages</a> by installed size (KBytes) on deb distros</td></tr> <tr><td>•</td><td class="nw">dd bs=1 seek=2TB if=/dev/null of=ext3.test</td><td>Create a large test file (taking no space). See also <a href="http://www.pixelbeat.org/scripts/truncate">truncate</a></td></tr> <tr id="monitor" class="pbtitle"><td colspan="3"><b>monitoring/debugging</b></td></tr> <tr><td>•</td><td class="nw">tail -f /var/log/messages</td><td><a href="http://www.pixelbeat.org/docs/web/access_log/monitoring.html">Monitor messages</a> in a log file</td></tr> <tr><td>•</td><td class="nw">strace -c ls >/dev/null</td><td>Summarise/profile system calls made by command</td></tr> <tr><td>•</td><td class="nw">strace -f -e open ls >/dev/null</td><td>List system calls made by command</td></tr> <tr><td>•</td><td class="nw">ltrace -f -e getenv ls >/dev/null</td><td>List library calls made by command</td></tr> <tr><td>•</td><td class="nw"><acronym title="usually in /usr/sbin/">lsof</acronym> -p <acronym title="process id of current shell">$$</acronym></td><td>List paths that process id has open</td></tr> <tr><td>•</td><td class="nw">lsof ~</td><td>List processes that have specified path open</td></tr> <tr><td>•</td><td class="nw">tcpdump not port 22</td><td>Show network traffic except ssh. See also <a href="http://www.pixelbeat.org/scripts/tcpdump_not_me">tcpdump_not_me</a></td></tr> <tr><td>•</td><td class="nw">ps -e -o pid,args --forest</td><td>List processes in a hierarchy</td></tr> <tr><td>•</td><td class="nw">ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'</td><td>List processes by % cpu usage</td></tr> <tr><td>•</td><td class="nw">ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS</td><td>List processes by mem usage. See also <a href="http://www.pixelbeat.org/scripts/ps_mem.py">ps_mem.py</a></td></tr> <tr><td>•</td><td class="nw">ps -C firefox-bin -L -o pid,tid,pcpu,state</td><td>List all threads for a particular process</td></tr> <tr><td>•</td><td class="nw">ps -p 1,2</td><td>List info for particular process IDs</td></tr> <tr><td>•</td><td class="nw">last reboot</td><td>Show system reboot history</td></tr> <tr><td>•</td><td class="nw">free -m</td><td>Show amount of (remaining) RAM (-m displays in MB)</td></tr> <tr><td>•</td><td class="nw">watch -n1 'cat /proc/interrupts'</td><td>Watch changeable data continuously</td></tr> <tr id="sysinfo" class="pbtitle"><td colspan="3"><b>system information</b> (see also <a href="http://www.pixelbeat.org/scripts/sysinfo">sysinfo</a>) ('#' means root access is required)</td></tr> <tr><td>•</td><td class="nw">uname -a</td><td>Show kernel version and system architecture</td></tr> <tr><td>•</td><td class="nw">head -n1 /etc/issue</td><td>Show name and version of distribution</td></tr> <tr><td>•</td><td class="nw">cat /proc/partitions</td><td>Show all partitions registered on the system</td></tr> <tr><td>•</td><td class="nw">grep MemTotal /proc/meminfo</td><td>Show RAM total seen by the system</td></tr> <tr><td>•</td><td class="nw">grep "model name" /proc/cpuinfo</td><td>Show CPU(s) info</td></tr> <tr><td>•</td><td class="nw"><acronym title="usually in /sbin/">lspci</acronym> -tv</td><td>Show PCI info</td></tr> <tr><td>•</td><td class="nw"><acronym title="usually in /sbin/">lsusb</acronym> -tv</td><td>Show USB info</td></tr> <tr><td>•</td><td class="nw">mount | column -t</td><td>List mounted filesystems on the system (and align output)</td></tr> <tr><td>#</td><td class="nw">dmidecode -q | less</td><td>Display SMBIOS/DMI information</td></tr> <tr><td>#</td><td class="nw">smartctl -A /dev/sda | grep Power_On_Hours</td><td>How long has this disk (system) been powered on in total</td></tr> <tr><td>#</td><td class="nw">hdparm -i /dev/sda</td><td>Show info about disk sda</td></tr> <tr><td>#</td><td class="nw">hdparm -tT /dev/sda</td><td>Do a read speed test on disk sda</td></tr> <tr><td>#</td><td class="nw">badblocks -s /dev/sda</td><td>Test for unreadable blocks on disk sda</td></tr> <tr id="interactive" class="pbtitle"><td colspan="3"><b>interactive</b> (see also <a href="http://www.pixelbeat.org/lkdb/">linux keyboard shortcuts)</a></td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/lkdb/readline.html">readline</a></td><td>Line editor used by bash, python, bc, gnuplot, ...</td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/lkdb/screen.html">screen</a></td><td>Virtual terminals with detach capability, ...</td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/lkdb/mc.html">mc</a></td><td>Powerful file manager that can browse rpm, tar, ftp, ssh, ...</td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/docs/web/access_log/analyzing.html">gnuplot</a></td><td>Interactive/scriptable graphing</td></tr> <tr><td>•</td><td class="nw">links</td><td>Web browser</td></tr> <tr id="misc" class="pbtitle"><td colspan="3"><b>miscellaneous</b></td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/settings/.bashrc">alias</a> hd='od -Ax -tx1z -v'</td><td>Handy hexdump. (usage e.g.: • hd /proc/self/cmdline | less)</td></tr> <tr><td>•</td><td class="nw"><a href="http://www.pixelbeat.org/settings/.bashrc">alias</a> realpath='readlink -f'</td><td>Canonicalize path. (usage e.g.: • realpath ~/../$USER)</td></tr> <tr><td>•</td><td class="nw">set | grep $USER</td><td>Search current <a href="http://www.pixelbeat.org/docs/env.html">environment</a></td></tr> <tr><td> </td><td class="nw">touch -c -t 0304050607 file</td><td>Set file timestamp (YYMMDDhhmm)</td></tr></tbody></table> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <span itemprop='name'>Prashanth</span> </span> </span> <span class='post-timestamp'> at <meta content='http://prashuch.blogspot.com/2008/03/linux-cli-commands.html' itemprop='url'/> <a class='timestamp-link' href='http://prashuch.blogspot.com/2008/03/linux-cli-commands.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2008-03-19T15:00:00+05:30'>3/19/2008 03:00:00 PM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='https://www.blogger.com/comment/fullpage/post/36017496/8431778842716567771' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=36017496&postID=8431778842716567771' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-1323347076'> <a href='https://www.blogger.com/post-edit.g?blogID=36017496&postID=8431778842716567771&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> Labels: <a href='http://prashuch.blogspot.com/search/label/Linux' rel='tag'>Linux</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> <div class='post-outer'> <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='36017496' itemprop='blogId'/> <meta content='2049593251552980130' itemprop='postId'/> <a name='2049593251552980130'></a> <h3 class='post-title entry-title' itemprop='name'> <a href='http://prashuch.blogspot.com/2008/03/waitpid.html'>waitpid()</a> </h3> <div class='post-header'> <div class='post-header-line-1'></div> </div> <div class='post-body entry-content' id='post-body-2049593251552980130' itemprop='description articleBody'> <pre><span style="font-size:130%;"><span style="font-weight: bold;">waitpid </span></span>- wait for process termination<br /><br /><br /><span style="font-size:130%;"><span style="font-weight: bold;">Headers:</span></span><br /><strong style="font-weight: normal;">#include</strong> <strong style="font-weight: normal;"><sys/types.h></strong><br /><strong style="font-weight: normal;">#include</strong> <strong style="font-weight: normal;"><sys/wait.h><br /><br /></strong></pre><h2><span style="font-size:130%;">DESCRIPTION</span></h2><pre>The <strong>waitpid</strong> function suspends execution of the current<br /> process until a child as specified by the <em>pid</em> argument has<br /> exited, or until a signal is delivered whose action is to<br /> terminate the current process or to call a signal handling<br /> function. If a child as requested by <em>pid</em> has already<br /> exited by the time of the call (a so-called "zombie" pro-<br /> cess), the function returns immediately. Any system<br /> resources used by the child are freed.<br /><br /><br /> The value of <em>pid</em> can be one of:<br /><br /> < -1 which means to wait for any child process whose<br /> process group ID is equal to the absolute value of<br /><br /> -1 which means to wait for any child process; this is<br /> the same behaviour which <strong>wait</strong> exhibits.<br /><br /> 0 which means to wait for any child process whose<br /> process group ID is equal to that of the calling<br /> process.<br /><br /> > 0 which means to wait for the child whose process ID<br /> is equal to the value of <em>pid</em>.<br /><br /><br /><br /> The value of <em>options</em> is an exclusive OR of zero or more of<br /> the following constants:<br /><br /> <strong>WNOHANG</strong> which means to return immediately if no child has<br /> exited.<br /><br /><br /> <strong>WUNTRACED</strong><br /> which means to also return for children which are<br /><br /><br /> If <em>status</em> is not <strong>NULL</strong>, <strong>wait</strong> or <strong>waitpid</strong> store status infor-<br /> mation in the location pointed to by <em>statloc</em>.<br /><br /> This status can be evaluated with the following macros<br /> (these macros take the stat buffer as an argument -- not a<br /> pointer to the buffer!):<br /><br /> <strong>WIFEXITED(</strong><em>status</em><strong>)</strong><br /> is non -zero if the child exited normally.<br /><br /> <strong>WEXITSTATUS(</strong><em>status</em><strong>)</strong><br /> evaluates to the least significant eight bits of<br /> the return code of the child which terminated,<br /> which may have been set as the argument to a call<br /> to <strong>exit()</strong> or as the argument for a <strong>return</strong> state-<br /> ment in the main program. This macro can only be<br /> evaluated if <strong>WIFEXITED</strong> returned non-zero.<br /><br /> <strong>WIFSIGNALED(</strong><em>status</em><strong>)</strong><br /> returns true if the child process exited because<br /> of a signal which was not caught.<br /><br /> <strong>WTERMSIG(</strong><em>status</em><strong>)</strong><br /> returns the number of the signal that caused the<br /> child process to terminate. This macro can only be<br /> evaluated if <strong>WIFSIGNALED</strong> returned non-zero.<br /><br /> <strong>WIFSTOPPED(</strong><em>status</em><strong>)</strong><br /> returns true if the child process which caused the<br /> return is currently stopped; this is only possible<br /> if the call was done using <strong>WUNTRACED</strong>.<br /><br /> <strong>WSTOPSIG(</strong><em>status</em><strong>)</strong><br /> returns the number of the signal which caused the<br /> child to stop. This macro can only be evaluated<br /><br /> if <strong>WIFSTOPPED</strong> returned non-zero.<br /><br /> stopped, and whose status has not been reported.<br /><br /></pre> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <span itemprop='name'>Prashanth</span> </span> </span> <span class='post-timestamp'> at <meta content='http://prashuch.blogspot.com/2008/03/waitpid.html' itemprop='url'/> <a class='timestamp-link' href='http://prashuch.blogspot.com/2008/03/waitpid.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2008-03-19T10:25:00+05:30'>3/19/2008 10:25:00 AM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='https://www.blogger.com/comment/fullpage/post/36017496/2049593251552980130' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=36017496&postID=2049593251552980130' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-1323347076'> <a href='https://www.blogger.com/post-edit.g?blogID=36017496&postID=2049593251552980130&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> Labels: <a href='http://prashuch.blogspot.com/search/label/C%20and%20C%2B%2B' rel='tag'>C and C++</a>, <a href='http://prashuch.blogspot.com/search/label/Linux' rel='tag'>Linux</a>, <a href='http://prashuch.blogspot.com/search/label/Solaries' rel='tag'>Solaries</a>, <a href='http://prashuch.blogspot.com/search/label/Unix' rel='tag'>Unix</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> <div class='post-outer'> <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='36017496' itemprop='blogId'/> <meta content='7461653893658784355' itemprop='postId'/> <a name='7461653893658784355'></a> <h3 class='post-title entry-title' itemprop='name'> <a href='http://prashuch.blogspot.com/2008/03/signal-management-1-in-linux.html'>signal management 1 in linux/+</a> </h3> <div class='post-header'> <div class='post-header-line-1'></div> </div> <div class='post-body entry-content' id='post-body-7461653893658784355' itemprop='description articleBody'> <code><tt>#include <<a href="http://www.opengroup.org/onlinepubs/000095399/basedefs/signal.h.html">signal.h</a>><br /><br /> int <span style="font-weight: bold;">sighold</span>(int</tt> <i>sig</i><tt>);<br /> int <span style="font-weight: bold;">sigignore</span>(int</tt> <i>sig</i><tt>);<br /> int <span style="font-weight: bold;">sigpause</span>(int</tt> <i>sig</i><tt>);<br /> int <span style="font-weight: bold;">sigrelse</span>(int</tt> <i>sig</i><tt>);<br /> void (*sigset(int</tt> <i>sig</i><tt>, void (*</tt><i>disp</i><tt>)(int)))(int);<br /><br /><span style="font-weight: bold;">Description :</span><br /></tt></code><p>The <i>sighold</i>(), <i>sigignore</i>(), <i>sigpause</i>(), <i>sigrelse</i>(), and <i>sigset</i>() functions provide simplified signal management.</p> <p>The <i>sigset</i>() function shall modify signal dispositions. The <i>sig</i> argument specifies the signal, which may be any signal except SIGKILL and SIGSTOP. The <i>disp</i> argument specifies the signal's disposition, which may be SIG_DFL, SIG_IGN, or the address of a signal handler. If <i>sigset</i>() is used, and <i>disp</i> is the address of a signal handler, the system shall add <i>sig</i> to the calling process' signal mask before executing the signal handler; when the signal handler returns, the system shall restore the calling process' signal mask to its state prior to the delivery of the signal. In addition, if <i>sigset</i>() is used, and <i>disp</i> is equal to SIG_HOLD, <i>sig</i> shall be added to the calling process' signal mask and <i>sig</i>'s disposition shall remain unchanged. If <i>sigset</i>() is used, and <i>disp</i> is not equal to SIG_HOLD, <i>sig</i> shall be removed from the calling process' signal mask.</p> <p>The <i>sighold</i>() function shall add <i>sig</i> to the calling process' signal mask.</p> <p>The <i>sigrelse</i>() function shall remove <i>sig</i> from the calling process' signal mask.</p> <p>The <i>sigignore</i>() function shall set the disposition of <i>sig</i> to SIG_IGN.</p> <p>The <i>sigpause</i>() function shall remove <i>sig</i> from the calling process' signal mask and suspend the calling process until a signal is received. The <i>sigpause</i>() function shall restore the process' signal mask to its original state before returning.</p> <p>If the action for the SIGCHLD signal is set to SIG_IGN, child processes of the calling processes shall not be transformed into zombie processes when they terminate. If the calling process subsequently waits for its children, and the process has no unwaited-for children that were transformed into zombie processes, it shall block until all of its children terminate, and <a href="http://www.opengroup.org/onlinepubs/000095399/functions/wait.html"><i>wait</i>()</a>, <a href="http://www.opengroup.org/onlinepubs/000095399/functions/waitid.html"><i>waitid</i>()</a>, and <a href="http://www.opengroup.org/onlinepubs/000095399/functions/waitpid.html"><i>waitpid</i>()</a> shall fail and set <i>errno</i> to [ECHILD].</p><h4>RETURN VALUE</h4>pon successful completion, <i>sigset</i>() shall return SIG_HOLD if the signal had been blocked and the signal's previous disposition if it had not been blocked. Otherwise, SIG_ERR shall be returned and <i>errno</i> set to indicate the error. <p>The <i>sigpause</i>() function shall suspend execution of the thread until a signal is received, whereupon it shall return -1 and set <i>errno</i> to [EINTR].</p> <p>For all other functions, upon successful completion, 0 shall be returned. Otherwise, -1 shall be returned and <i>errno</i> set to indicate the error.</p><p style="font-weight: bold;">FAILING CONDITIONS :</p><p>These functions shall fail if:</p><ul><li>The <i>sig</i> argument is an illegal signal number.</li><li>An attempt is made to catch a signal that cannot be caught, or to ignore a signal that cannot be ignored.</li></ul> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <span itemprop='name'>Prashanth</span> </span> </span> <span class='post-timestamp'> at <meta content='http://prashuch.blogspot.com/2008/03/signal-management-1-in-linux.html' itemprop='url'/> <a class='timestamp-link' href='http://prashuch.blogspot.com/2008/03/signal-management-1-in-linux.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2008-03-19T10:04:00+05:30'>3/19/2008 10:04:00 AM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='https://www.blogger.com/comment/fullpage/post/36017496/7461653893658784355' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=36017496&postID=7461653893658784355' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-1323347076'> <a href='https://www.blogger.com/post-edit.g?blogID=36017496&postID=7461653893658784355&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> Labels: <a href='http://prashuch.blogspot.com/search/label/C%20and%20C%2B%2B' rel='tag'>C and C++</a>, <a href='http://prashuch.blogspot.com/search/label/Linux' rel='tag'>Linux</a>, <a href='http://prashuch.blogspot.com/search/label/Solaries' rel='tag'>Solaries</a>, <a href='http://prashuch.blogspot.com/search/label/Unix' rel='tag'>Unix</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> <div class='post-outer'> <div class='post hentry uncustomized-post-template' itemprop='blogPost' itemscope='itemscope' itemtype='http://schema.org/BlogPosting'> <meta content='36017496' itemprop='blogId'/> <meta content='2070666832181236878' itemprop='postId'/> <a name='2070666832181236878'></a> <h3 class='post-title entry-title' itemprop='name'> <a href='http://prashuch.blogspot.com/2008/03/xtem-syntax.html'>Xtem Syntax</a> </h3> <div class='post-header'> <div class='post-header-line-1'></div> </div> <div class='post-body entry-content' id='post-body-2070666832181236878' itemprop='description articleBody'> <span style="font-weight: bold;">About xterm</span> <p>Terminal emulator for<b><a href="http://www.computerhope.com/unix/ux.htm"> X</a></b>-windows Terminal<br /></p> <p class="nb"><a name="02"></a>Syntax</p> <p><i>xterm [-toolkitoption ...] [-option]</i></p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr> <td valign="top" width="120">-help</td> <td valign="top">This causes xterm to print out a verbose message describing its options.</td> </tr> <tr> <td valign="top" width="120">-132</td> <td valign="top">Normally, the VT102 DECCOLM escape sequence that switches between 80 and 132 column mode is ignored. This option causes the DECCOLM escape sequence to be recognized, and the xterm window will resize appropriately.</td> </tr> <tr> <td valign="top" width="120">-ah</td> <td valign="top">This option indicates that xterm should always highlight the text cursor. By default, xterm will display a hollow text cursor whenever the focus is lost or the pointer leaves the window.</td> </tr> <tr> <td valign="top" width="120">+ah</td> <td valign="top">This option indicates that xterm should do text cursor highlighting based on focus.</td> </tr> <tr> <td valign="top" width="120">-b number</td> <td valign="top">This option specifies the size of the inner border (the distance between the outer edge of the characters and the window border) in pixels. The default is 2.</td> </tr> <tr> <td valign="top" width="120">-cb</td> <td valign="top">Set the vt100 resource cutToBeginningOfLine to FALSE.</td> </tr> <tr> <td valign="top" width="120">+cb</td> <td valign="top">Set the vt100 resource cutToBeginningOfLine to TRUE.</td> </tr> <tr> <td valign="top" width="120">-cc</td> <td valign="top">This sets classes indicated by the given ranges for using in selecting by words. See the section specifying character classes.</td> </tr> <tr> <td valign="top" width="120">-cn</td> <td valign="top">This option indicates that newlines should not be cut in line-mode selections.</td> </tr> <tr> <td valign="top" width="120">+cn</td> <td valign="top">This option indicates that newlines should be cut in line-mode selections.</td> </tr> <tr> <td valign="top" width="120">-cr color</td> <td valign="top">This option specifies the color to use for text cursor. The default is to use the same foreground color that is used for text.</td> </tr> <tr> <td valign="top" width="120">-cu</td> <td valign="top">This option indicates that xterm should work around a bug in the <b><a href="http://www.computerhope.com/unix/umore.htm">more</a></b> program that causes it to incorrectly display lines that are exactly the width of the window and are followed by a line beginning with a tab (the leading tabs are not displayed). This option is so named because it was originally thought to be a bug in the curses(3x) cursor motion package.</td> </tr> <tr> <td valign="top" width="120">+cu</td> <td valign="top">This option indicates that xterm should not work around the more(3x) bug mentioned above.</td> </tr> <tr> <td valign="top" width="120">-e program [arguments]</td> <td valign="top">This option specifies the program (and its command line arguments) to be run in the xterm window. It also sets the window title and icon name to be the basename of the program being executed if neither -T nor -n are given on the command line. This must be<br /> the last option on the command line.</td> </tr> <tr> <td valign="top" width="120">-fb font</td> <td valign="top">This option specifies a font to be used when displaying bold text. This font must be the same height and width as the normal font. If only one of the normal or bold fonts is specified, it will be used as the normal font and the bold font will be produced by overstriking this font. The default is to do overstriking of the normal font.</td> </tr> <tr> <td valign="top" width="120">-im</td> <td valign="top">Turn on the useInsertMode resource.</td> </tr> <tr> <td valign="top" width="120">+im</td> <td valign="top">Turn off the useInsertMode resource.</td> </tr> <tr> <td valign="top" width="120">-j</td> <td valign="top">This option indicates that xterm should do jump scrolling. Normally, text is scrolled one line at a time; this option allows xterm to move multiple lines at a time so that it doesn't fall as far behind. Its use is strongly recommended since it make xterm much faster when scanning through large amounts of text. The VT100 escape sequences for enabling and disabling smooth scroll as well as the ``VT Options'' menu can be used to turn this feature on or off.</td> </tr> <tr> <td valign="top" width="120">+j</td> <td valign="top">This option indicates that xterm should not do jump scrolling.</td> </tr> <tr> <td valign="top" width="120">-ls</td> <td valign="top">This option indicates that the shell that is started in the xterm window will be a login shell<br />(i.e., the first character of argv[0] will be a dash, indicating to the shell that it should read<br /> the user's .login or .profile).</td> </tr> <tr> <td valign="top" width="120">+ls</td> <td valign="top">This option indicates that the shell that is started should not be a login shell (i.e. it will be a normal ``subshell'').</td> </tr> <tr> <td valign="top" width="120">-mb</td> <td valign="top">This option indicates that xterm should ring a margin bell when the user types near the right end of a line. This option can be turned on and off from the ``VT Options'' menu.</td> </tr> <tr> <td valign="top" width="120">+mb</td> <td valign="top">This option indicates that margin bell should not be rung.</td> </tr> <tr> <td valign="top" width="120">-mc milliseconds</td> <td valign="top">This option specifies the maximum time between multi-click selections.</td> </tr> <tr> <td valign="top" width="120">-ms color</td> <td valign="top">This option specifies the color to be used for the pointer cursor. The default is to use the foreground color.</td> </tr> <tr> <td valign="top" width="120">-nb number</td> <td valign="top">This option specifies the number of characters from the right end of a line at which the margin bell, if enabled, will ring. The default is 10.</td> </tr> <tr> <td valign="top" width="120">-rw</td> <td valign="top">This option indicates that reverse-wraparound should be allowed. This allows the cursor to backup from the leftmost column of one line to the rightmost column of the previous line. This is very useful for editing long shell command lines and is encouraged. This option can be turned on and off from the ``VT Options'' menu.</td> </tr> <tr> <td valign="top" width="120">+rw</td> <td valign="top">This option indicates that reverse-wraparound should not be allowed.</td> </tr> <tr> <td valign="top" width="120">-aw</td> <td valign="top">This option indicates that auto-wraparound should be allowed. This allows the cursor to automatically wrap to the beginning of the next line when when it is at the rightmost position of a line and text is output.</td> </tr> <tr> <td valign="top" width="120">+aw</td> <td valign="top">This option indicates that auto-wraparound should not be allowed.</td> </tr> <tr> <td valign="top" width="120">-s</td> <td valign="top">This option indicates that xterm may scroll asynchronously, meaning that the screen does not have to be kept completely up to date while scrolling. This allows xterm to run faster when network latencies are very high and is typically useful when running across a very large Internet or many gateways.</td> </tr> <tr> <td valign="top" width="120">+s</td> <td valign="top">This option indicates that xterm should scroll synchronously.</td> </tr> <tr> <td valign="top" width="120">-sb</td> <td valign="top">This option indicates that some number of lines that are scrolled off the top of the window should be saved and that a scrollbar should be displayed so that those lines can be viewed. This option may be turned on and off from the ``VT Options'' menu.</td> </tr> <tr> <td valign="top" width="120">+sb</td> <td valign="top">This option indicates that a scrollbar should not be displayed.</td> </tr> <tr> <td valign="top" width="120">-sf</td> <td valign="top">This option indicates that Sun Function Key escape codes should be generated for function keys.</td> </tr> <tr> <td valign="top" width="120">+sf</td> <td valign="top">This option indicates that the standard escape codes should be generated for function keys.</td> </tr> <tr> <td valign="top" width="120">-si</td> <td valign="top">This option indicates that output to a window should not automatically reposition the screen to the bottom of the scrolling region. This option can be turned on and off from the ``VT Options'' menu.</td> </tr> <tr> <td valign="top" width="120">+si</td> <td valign="top">This option indicates that output to a window should cause it to scroll to the bottom.</td> </tr> <tr> <td valign="top" width="120">-sk</td> <td valign="top">This option indicates that pressing a key while using the scrollbar to review previous lines of text should cause the window to be repositioned automatically in the normal position at the bottom of the scroll region.</td> </tr> <tr> <td valign="top" width="120">+sk</td> <td valign="top">This option indicates that pressing a key while using the scrollbar should not cause the window to be repositioned.</td> </tr> <tr> <td valign="top" width="120">-sl number</td> <td valign="top">This option specifies the number of lines to save that have been scrolled off the top of the screen. The default is 64.</td> </tr> <tr> <td valign="top" width="120">-t</td> <td valign="top">This option indicates that xterm should start in Tektronix mode, rather than in VT102 mode. Switching between the two windows is done using the ``Options'' menus.</td> </tr> <tr> <td valign="top" width="120">+t</td> <td valign="top">This option indicates that xterm should start in VT102 mode.</td> </tr> <tr> <td valign="top" width="120">-tm string</td> <td valign="top">This option specifies a series of terminal setting keywords followed by the characters that should be bound to those functions, similar to the stty program. Allowable keywords include: intr, quit, erase, kill, eof, eol, swtch, start, stop, brk, susp, dsusp, rprnt, flush, weras, and lnext. Cotrol characters may be specified as ^char (e.g. ^c or ^u) and ^? may be used to indicate delete.</td> </tr> <tr> <td valign="top" width="120">-tn name</td> <td valign="top">This option specifies the name of the terminal type to be set in the TERM environment variable. This terminal type must exist in the termcap database and should have li# and co# entries.</td> </tr> <tr> <td valign="top" width="120">-ut</td> <td valign="top">This option indicates that xterm shouldn't write a record into the the system log file /etc/utmp.</td> </tr> <tr> <td valign="top" width="120">+ut</td> <td valign="top">This option indicates that xterm should write a record into the system log file /etc/utmp.</td> </tr> <tr> <td valign="top" width="120">-vb</td> <td valign="top">This option indicates that a visual bell is preferred over an audible one. Instead of ringing the terminal bell whenever a Control-G is received, the window will be flashed.</td> </tr> <tr> <td valign="top" width="120">+vb</td> <td valign="top">This option indicates that a visual bell should not be used.</td> </tr> <tr> <td valign="top" width="120">-wf</td> <td valign="top">This option indicates that xterm should wait for the window to be mapped the first time before starting the subprocess so that the initial terminal size settings and environment variables are correct. It is the application's responsibility to catch subsequent terminal size changes.</td> </tr> <tr> <td valign="top" width="120">+wf</td> <td valign="top">This option indicates that xterm show not wait before starting the subprocess.</td> </tr> <tr> <td valign="top" width="120">-C</td> <td valign="top">This option indicates that this window should receive console output. This is not supported on all systems. To obtain console output, you must be the owner of the console device, and you must have read and write permission for it. If you are running X under xdm on the console screen you may need to have the session startup and reset programs explicitly change the ownership of the console device in order to get this option to work.</td> </tr> <tr> <td valign="top" width="120">Sccn</td> <td valign="top">This option specifies the last two letters of the name of a pseudoterminal to use in slave mode, plus the number of the inherited file descriptor. The option is parsed ``%c%c%d''. This allows xterm to be used as an input and output channel for an existing program and is sometimes used in specialized applications.</td> </tr> <tr> <td valign="top" width="120">%geom</td> <td valign="top">This option specifies the preferred size and position of the Tektronix window. It is shorthand for specifying the ``*tekGeometry'' resource.</td> </tr> <tr> <td valign="top" width="120">#geom</td> <td valign="top">This option specifies the preferred position of the icon window. It is shorthand for specifying the ``*iconGeometry'' resource.</td> </tr> <tr> <td valign="top" width="120">-T string</td> <td valign="top">This option specifies the title for xterm's windows. It is equivalent to -title.</td> </tr> <tr> <td valign="top" width="120">-n string</td> <td valign="top">This option specifies the icon name for xterm's windows. It is shorthand for specifying the ``*icon- Name'' resource. Note that this is not the same as the toolkit option -name (see below). The default icon name is the application name.</td> </tr> <tr> <td valign="top" width="120">-r </td> <td valign="top">This option indicates that reverse video should be simulated by swapping the foreground and background colors. It is equivalent to -rv.</td> </tr> <tr> <td valign="top" width="120">-w number</td> <td valign="top">This option specifies the width in pixels of the border surrounding the window. It is equivalent to -borderwidth or -bw.</td> </tr> <tr> <td valign="top" width="120">-bg color</td> <td valign="top">This option specifies the color to use for the background of the window. The default is ``white.''</td> </tr> <tr> <td valign="top" width="120">-bd color</td> <td valign="top">This option specifies the color to use for the border of the window. The default is ``black.''</td> </tr> <tr> <td valign="top" width="120">-bw color</td> <td valign="top">This option specifies the width in pixels of the border surrounding the window.</td> </tr> <tr> <td valign="top" width="120">-fg color</td> <td valign="top">This option specifies the color to use for displaying text. The default is ``black.''</td> </tr> <tr> <td valign="top" width="120">-fn color</td> <td valign="top">This option specifies the font to be used for displaying normal text. The default is fixed.</td> </tr> <tr> <td valign="top" width="120">-fn font</td> <td valign="top">This option specifies the font to be used for displaying normal text. The default is fixed.</td> </tr> <tr> <td valign="top" width="120">-name name</td> <td valign="top">This option specifies the application name under which resources are to be obtained, rather than the default executable file name. Name should not contain ``.'' or ``*'' characters.</td> </tr> <tr> <td valign="top" width="120">-title string</td> <td valign="top">This option specifies the window title string, which may be displayed by window managers if the user so chooses. The default title is the command line specified after the -e option, if any, otherwise the application name.</td> </tr> <tr> <td valign="top" width="120">-rv</td> <td valign="top">This option indicates that reverse video should be simulated by swapping the foreground and background colors.</td> </tr> <tr> <td valign="top" width="120">-geometry geometry</td> <td valign="top">This option specifies the preferred size and position of the VT102 window; see X(1).</td> </tr> <tr> <td valign="top" width="120">-display display</td> <td valign="top">This option specifies the X server to contact; see <b><a href="http://www.computerhope.com/unix/ux.htm">X</a></b>.</td> </tr> <tr> <td valign="top" width="120">-xrm resourcestring</td> <td valign="top">This option specifies a resource string to be used. This is especially useful for setting resources that do not have separate command line options.</td> </tr> <tr> <td valign="top" width="120">-iconic</td> <td valign="top">This option indicates that xterm should ask the window manager to start it as an icon rather than as the normal window.</td> </tr> <tr> <td valign="top" width="120">-dc</td> <td valign="top">This option disables the escape sequence to change the vt100 foreground and background colors, the text cursor color, the mouse cursor foreground and background colors and the Tektronix emulator foreground and background colors.</td> </tr> <tr> <td valign="top" width="120">+dc</td> <td valign="top">This option enables the escape sequence to change the vt100 foreground and background colors, the text cursor color, the mouse cursor foreground and background colors and the Tektronix emulator foreground and background</td> </tr> </tbody></table> <p class="nb"><a name="03"></a>Examples</p> <p><b>xterm</b> - runs the X terminal (if supported).</p> <div style='clear: both;'></div> </div> <div class='post-footer'> <div class='post-footer-line post-footer-line-1'> <span class='post-author vcard'> Posted by <span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'> <span itemprop='name'>Prashanth</span> </span> </span> <span class='post-timestamp'> at <meta content='http://prashuch.blogspot.com/2008/03/xtem-syntax.html' itemprop='url'/> <a class='timestamp-link' href='http://prashuch.blogspot.com/2008/03/xtem-syntax.html' rel='bookmark' title='permanent link'><abbr class='published' itemprop='datePublished' title='2008-03-19T09:00:00+05:30'>3/19/2008 09:00:00 AM</abbr></a> </span> <span class='post-comment-link'> <a class='comment-link' href='https://www.blogger.com/comment/fullpage/post/36017496/2070666832181236878' onclick=''> No comments: </a> </span> <span class='post-icons'> <span class='item-action'> <a href='https://www.blogger.com/email-post.g?blogID=36017496&postID=2070666832181236878' title='Email Post'> <img alt='' class='icon-action' height='13' src='https://resources.blogblog.com/img/icon18_email.gif' width='18'/> </a> </span> <span class='item-control blog-admin pid-1323347076'> <a href='https://www.blogger.com/post-edit.g?blogID=36017496&postID=2070666832181236878&from=pencil' title='Edit Post'> <img alt='' class='icon-action' height='18' src='https://resources.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/> </a> </span> </span> <div class='post-share-buttons goog-inline-block'> </div> </div> <div class='post-footer-line post-footer-line-2'> <span class='post-labels'> Labels: <a href='http://prashuch.blogspot.com/search/label/Linux' rel='tag'>Linux</a>, <a href='http://prashuch.blogspot.com/search/label/Solaries' rel='tag'>Solaries</a>, <a href='http://prashuch.blogspot.com/search/label/Unix' rel='tag'>Unix</a> </span> </div> <div class='post-footer-line post-footer-line-3'> <span class='post-location'> </span> </div> </div> </div> </div> </div></div> </div> <div class='blog-pager' id='blog-pager'> <span id='blog-pager-newer-link'> <a class='blog-pager-newer-link' href='http://prashuch.blogspot.com/search?updated-max=2008-04-09T12:33:00%2B05:30&max-results=10&reverse-paginate=true' id='Blog1_blog-pager-newer-link' title='Newer Posts'>Newer Posts</a> </span> <span id='blog-pager-older-link'> <a class='blog-pager-older-link' href='http://prashuch.blogspot.com/search?updated-max=2008-03-19T09:00:00%2B05:30&max-results=10' id='Blog1_blog-pager-older-link' title='Older Posts'>Older Posts</a> </span> <a class='home-link' href='http://prashuch.blogspot.com/'>Home</a> </div> <div class='clear'></div> <div class='blog-feeds'> <div class='feed-links'> Subscribe to: <a class='feed-link' href='http://prashuch.blogspot.com/feeds/posts/default' target='_blank' type='application/atom+xml'>Posts (Atom)</a> </div> </div> </div><div class='widget HTML' data-version='1' id='HTML6'> <div class='widget-content'> <script src="http://widgetserver.com/syndication/subscriber/InsertWidget.js?appId=e41934d8-3939-4bbc-be54-40e42b41ccb6" type="text/javascript"></script><noscript>Get the <a href="http://www.widgetbox.com/widget/crickternews-livescorecard-widget">Cricket Live Score Widget from CricketerNews.com</a> widget and many other <a href="http://www.widgetbox.com/galleryhome/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>!</noscript> </div> <div class='clear'></div> </div></div> </div> </div> <div class='column-left-outer'> <div class='column-left-inner'> <aside> <div class='sidebar section' id='sidebar-left-1'><div class='widget Feed' data-version='1' id='Feed1'> <h2>Picaso</h2> <div class='widget-content' id='Feed1_feedItemListDisplay'> <span style='filter: alpha(25); opacity: 0.25;'> <a href='http://picasaweb.google.com/data/feed/base/user/prashanthkumar.chanda@gmail.com'>Loading...</a> </span> </div> <div class='clear'></div> </div></div> <table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'> <tbody> <tr> <td class='first columns-cell'> <div class='sidebar section' id='sidebar-left-2-1'><div class='widget HTML' data-version='1' id='HTML4'> <div class='widget-content'> <div id="vu_ytplayer_vjVQa1PpcFPWXmlRQyD7wr14npv7xzOqu5HVu_prugY="><a href="http://www.youtube.com/browse">Watch the latest videos on YouTube.com</a></div><script src="http://www.youtube.com/watch_custom_player?id=vjVQa1PpcFPWXmlRQyD7wr14npv7xzOqu5HVu_prugY=" type="text/javascript"></script> </div> <div class='clear'></div> </div><div class='widget HTML' data-version='1' id='HTML7'> <h2 class='title'>Search</h2> <div class='widget-content'> <style type="text/css"> @import url(http://www.google.com/cse/api/branding.css); </style> <div style="background-color:#999999;color:#000000" class="cse-branding-right"> <div class="cse-branding-form"> <form id="cse-search-box" action="http://www.google.co.in/cse" target="_blank"> <div> <input value="partner-pub-8859345293937280:2uhe5d-7uc5" name="cx" type="hidden"/> <input value="ISO-8859-1" name="ie" type="hidden"/> <input name="q" size="20" type="text"/> <input value="Search" name="sa" type="submit"/> </div> </form> </div> <div class="cse-branding-logo"> <img alt="Google" src="http://www.google.com/images/poweredby_transparent/poweredby_999999.gif"/> </div> <div class="cse-branding-text"> Custom Search </div> </div> </div> <div class='clear'></div> </div><div class='widget HTML' data-version='1' id='HTML9'> <h2 class='title'>Subscribe for new postings</h2> <div class='widget-content'> <form action="http://www.feedburner.com/fb/a/emailverify" style="border:1px solid #ccc;padding:3px;text-align:center;" target="popupwindow" method="post" onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2041691', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><p>Enter your email address:</p><p><input style="width:140px" name="email" type="text"/></p><input value="http://feeds.feedburner.com/~e?ffid=2041691" name="url" type="hidden"/><input value="Welcome to the World of Knowledge and Fun..." name="title" type="hidden"/><input value="en_US" name="loc" type="hidden"/><input value="Subscribe" type="submit"/><p>Delivered by <a href="http://www.feedburner.com" target="_blank">FeedBurner</a></p></form> </div> <div class='clear'></div> </div><div class='widget Text' data-version='1' id='Text1'> <div class='widget-content'> <br/>"<span style="font-weight: bold; color: rgb(0, 153, 0);">Debugging is twice as hard as writing the code in the first place.</span><span style="font-weight: bold; color: rgb(0, 153, 0);">Therefore, if you write the code as cleverly as possible, you are,</span><span style="font-weight: bold; color: rgb(0, 153, 0);">by definition, not smart enough to debug it.</span>"<br/><span style="color: rgb(255, 0, 0); font-weight: bold;">--Brian Kernighan</span><br/> </div> <div class='clear'></div> </div><div class='widget Label' data-version='1' id='Label1'> <h2>Labels</h2> <div class='widget-content list-label-widget-content'> <ul> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Achievements'>Achievements</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/AMD'>AMD</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Books'>Books</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Browsers'>Browsers</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Bugs'>Bugs</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/C%20and%20C%2B%2B'>C and C++</a> <span dir='ltr'>(20)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Career%20Guidance'>Career Guidance</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Cracks'>Cracks</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Cricket'>Cricket</a> <span dir='ltr'>(8)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Desktops'>Desktops</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Drivers'>Drivers</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Enquary'>Enquary</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Finance'>Finance</a> <span dir='ltr'>(6)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/fresher%20Jobs'>fresher Jobs</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Fun'>Fun</a> <span dir='ltr'>(30)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/General'>General</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Good%20ones'>Good ones</a> <span dir='ltr'>(6)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Governament%20Jobs'>Governament Jobs</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/GSM%20Networks'>GSM Networks</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Health'>Health</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Informative'>Informative</a> <span dir='ltr'>(6)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Informix'>Informix</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Inspiring'>Inspiring</a> <span dir='ltr'>(8)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Interview'>Interview</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/IPL'>IPL</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Java'>Java</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/JDBC'>JDBC</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Jobs'>Jobs</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Linux'>Linux</a> <span dir='ltr'>(21)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Microsoft'>Microsoft</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Mobile%20Technology'>Mobile Technology</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Mother%20Boards'>Mother Boards</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/News'>News</a> <span dir='ltr'>(3)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Open%20Office'>Open Office</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Oppertunities'>Oppertunities</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/PC'>PC</a> <span dir='ltr'>(5)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Personality%20Development'>Personality Development</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Results'>Results</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Sardar'>Sardar</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Shell%20Scripting'>Shell Scripting</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Shopping'>Shopping</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Solaries'>Solaries</a> <span dir='ltr'>(9)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Technical%20Info'>Technical Info</a> <span dir='ltr'>(2)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Technology'>Technology</a> <span dir='ltr'>(4)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Unix'>Unix</a> <span dir='ltr'>(8)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Virus'>Virus</a> <span dir='ltr'>(1)</span> </li> <li> <a dir='ltr' href='http://prashuch.blogspot.com/search/label/Windows'>Windows</a> <span dir='ltr'>(2)</span> </li> </ul> <div class='clear'></div> </div> </div><div class='widget BlogArchive' data-version='1' id='BlogArchive1'> <h2>Blog Archive</h2> <div class='widget-content'> <div id='ArchiveList'> <div id='BlogArchive1_ArchiveList'> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2010/'> 2010 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2010/06/'> June </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2010_06_23_archive.html'> Jun 23 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/'> 2008 </a> <span class='post-count' dir='ltr'>(144)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/07/'> July </a> <span class='post-count' dir='ltr'>(7)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_07_31_archive.html'> Jul 31 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_07_30_archive.html'> Jul 30 </a> <span class='post-count' dir='ltr'>(4)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/06/'> June </a> <span class='post-count' dir='ltr'>(22)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_20_archive.html'> Jun 20 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_19_archive.html'> Jun 19 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_16_archive.html'> Jun 16 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_13_archive.html'> Jun 13 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_11_archive.html'> Jun 11 </a> <span class='post-count' dir='ltr'>(7)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_06_archive.html'> Jun 06 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_06_04_archive.html'> Jun 04 </a> <span class='post-count' dir='ltr'>(9)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/05/'> May </a> <span class='post-count' dir='ltr'>(9)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_29_archive.html'> May 29 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_28_archive.html'> May 28 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_27_archive.html'> May 27 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_23_archive.html'> May 23 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_22_archive.html'> May 22 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_13_archive.html'> May 13 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_05_09_archive.html'> May 09 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/04/'> April </a> <span class='post-count' dir='ltr'>(27)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_24_archive.html'> Apr 24 </a> <span class='post-count' dir='ltr'>(6)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_21_archive.html'> Apr 21 </a> <span class='post-count' dir='ltr'>(7)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_10_archive.html'> Apr 10 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_09_archive.html'> Apr 09 </a> <span class='post-count' dir='ltr'>(5)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_04_archive.html'> Apr 04 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_03_archive.html'> Apr 03 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_04_01_archive.html'> Apr 01 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/03/'> March </a> <span class='post-count' dir='ltr'>(33)</span> <ul class='hierarchy'> <li class='archivedate expanded'> <a class='toggle' href='javascript:void(0)'> <span class='zippy toggle-open'> ▼  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_28_archive.html'> Mar 28 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/dumbest-kid.html'>Dumbest kid!!!!!!!!</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_27_archive.html'> Mar 27 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/handkling-of-signals-in-shell-scripting.html'>Handling of signals in Shell scripting..</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_26_archive.html'> Mar 26 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/to-take-backup-of-files-in-linux.html'>To Take Backup of Files in Linux/+</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_25_archive.html'> Mar 25 </a> <span class='post-count' dir='ltr'>(1)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/loyal-wife.html'>The Loyal Wife!!</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_24_archive.html'> Mar 24 </a> <span class='post-count' dir='ltr'>(4)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/some-fun.html'>Some Fun!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/way-for-long-life.html'>Way for a long life!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/3-detectives.html'>3 detectives!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/i-want-divorce.html'>I want a divorce!!</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_20_archive.html'> Mar 20 </a> <span class='post-count' dir='ltr'>(15)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/do-u-marry-again.html'>Do u Marry Again !!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/hospital-fun.html'>Hospital fun!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/unopened-cds.html'>Unopened CDs!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/fresh-fish.html'>Fresh Fish!!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/worms.html'>Worms ....!!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/junior.html'>Junior!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/never-judged-anyone-by-their-appearance.html'>never judged anyone by their appearance again!!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/best-joke-in-britan.html'>Best joke in Britan !!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/nail-in-fence.html'>Nail In The Fence!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/please-make-me-women.html'>please ! make me women ....</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/conclusion.html'>Conclusion!!!!</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/this-is-maid-little-fun.html'>This is the maid !! (Little Fun)</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/study-in-us-get-green-card-easily.html'>Study in US get Green card easily...</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/h1b-allocatio-nthis-year.html'>H1B allocation this Year</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/stat-function.html'>stat() function</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_19_archive.html'> Mar 19 </a> <span class='post-count' dir='ltr'>(5)</span> <ul class='posts'> <li><a href='http://prashuch.blogspot.com/2008/03/what-is-effective-communication.html'>What is Effective Communication??</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/linux-cli-commands.html'>Linux CLI commands</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/waitpid.html'>waitpid()</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/signal-management-1-in-linux.html'>signal management 1 in linux/+</a></li> <li><a href='http://prashuch.blogspot.com/2008/03/xtem-syntax.html'>Xtem Syntax</a></li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_17_archive.html'> Mar 17 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_12_archive.html'> Mar 12 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_04_archive.html'> Mar 04 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_03_03_archive.html'> Mar 03 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008/02/'> February </a> <span class='post-count' dir='ltr'>(46)</span> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_29_archive.html'> Feb 29 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_28_archive.html'> Feb 28 </a> <span class='post-count' dir='ltr'>(4)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_27_archive.html'> Feb 27 </a> <span class='post-count' dir='ltr'>(9)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_25_archive.html'> Feb 25 </a> <span class='post-count' dir='ltr'>(3)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_21_archive.html'> Feb 21 </a> <span class='post-count' dir='ltr'>(2)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_18_archive.html'> Feb 18 </a> <span class='post-count' dir='ltr'>(1)</span> </li> </ul> <ul class='hierarchy'> <li class='archivedate collapsed'> <a class='toggle' href='javascript:void(0)'> <span class='zippy'> ►  </span> </a> <a class='post-count-link' href='http://prashuch.blogspot.com/2008_02_15_archive.html'> Feb 15 </a> <span class='post-count' dir='ltr'>(26)</span> </li> </ul> </li> </ul> </li> </ul> </div> </div> <div class='clear'></div> </div> </div><div class='widget LinkList' data-version='1' id='LinkList1'> <h2>Links</h2> <div class='widget-content'> <ul> <li><a href='http://www.incometaxindiaefiling.gov.in/portal/index.jsp'>Incomtax Portal</a></li> <li><a href='http://www.cpptutor.com/index.htm'>C++ Language Tutorials</a></li> <li><a href='http://www.winentrance.com/results/'>Exam Results</a></li> <li><a href='http://dictionary.reference.com/'>Dictionary</a></li> <li><a href='http://www.cert.org/secure-coding/'>Secure Coding</a></li> <li><a href='http://www.linux-tutorial.info/'>Linux knowledge Base and Tutorial</a></li> <li><a href='http://www.technologyreview.com/'>Technology Review</a></li> <li><a href='http://www.imdb.com/'>English Movies Rating</a></li> <li><a href='http://indyarocks.com/'>Indyarocks(Free SMS sending Site)</a></li> <li><a href='http://www.onlinesbi.com/'>SBI online</a></li> <li><a href='http://www.dhanunjayatravels.com/'>Dhanunjaya Travels</a></li> <li><a href='http://www.freerice.com/index.php'>Free Rice ( Welfare Site ..)</a></li> <li><a href='http://timesofindia.indiatimes.com/default.cms'>Times of India (English Daily)</a></li> <li><a href='http://www.google.co.in/'>Google India</a></li> <li><a href='http://www.indianrail.gov.in/'>Indian Railway</a></li> <li><a href='http://www.eenadu.net/'>Eenadu (Telugu News paper)</a></li> <li><a href='http://mail.google.com/'>Gmail</a></li> <li><a href='http://www.timepassmails.com/'>Timepass mails</a></li> <li><a href='http://www.cricinfo.com/'>Crickinfo</a></li> <li><a href='http://www.rediff.com/'>Rediff</a></li> <li><a href='http://www.yahoomail.com/'>Yahoo mail</a></li> <li><a href='http://news.google.com/'>Google News</a></li> </ul> <div class='clear'></div> </div> </div><div class='widget HTML' data-version='1' id='HTML1'> <div class='widget-content'> <div id="vu_ytplayer_vjVQa1PpcFPWXmlRQyD7whgf8Nguk4aGIDEopvpe-1E="><a href="http://www.youtube.com/browse">Watch the latest videos on YouTube.com</a></div><script src="http://www.youtube.com/watch_custom_player?id=vjVQa1PpcFPWXmlRQyD7whgf8Nguk4aGIDEopvpe-1E=" type="text/javascript"></script> </div> <div class='clear'></div> </div></div> </td> <td class='columns-cell'> <div class='sidebar section' id='sidebar-left-2-2'><div class='widget HTML' data-version='1' id='HTML10'> <h2 class='title'>Feed Burner</h2> <div class='widget-content'> <p><a href="http://www.feedburner.com" target="_blank"><img alt="I heart FeedBurner" style="border:0" src="http://www.feedburner.com/fb/images/pub/i_heart_fb.gif"/></a></p> </div> <div class='clear'></div> </div></div> </td> </tr> </tbody> </table> <div class='sidebar section' id='sidebar-left-3'><div class='widget HTML' data-version='1' id='HTML2'> <h2 class='title'>211 Degrees!!!</h2> <div class='widget-content'> <object width="425" height="355"><param value="http://www.youtube.com/v/FpJQqzJj534&hl=en" name="movie"/><param value="transparent" name="wmode"/><embed width="425" src="http://www.youtube.com/v/FpJQqzJj534&hl=en" wmode="transparent" height="355" type="application/x-shockwave-flash"></embed></object> </div> <div class='clear'></div> </div></div> </aside> </div> </div> <div class='column-right-outer'> <div class='column-right-inner'> <aside> </aside> </div> </div> </div> <div style='clear: both'></div> <!-- columns --> </div> <!-- main --> </div> </div> <div class='main-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> <footer> <div class='footer-outer'> <div class='footer-cap-top cap-top'> <div class='cap-left'></div> <div class='cap-right'></div> </div> <div class='fauxborder-left footer-fauxborder-left'> <div class='fauxborder-right footer-fauxborder-right'></div> <div class='region-inner footer-inner'> <div class='foot no-items section' id='footer-1'></div> <table border='0' cellpadding='0' cellspacing='0' class='section-columns columns-2'> <tbody> <tr> <td class='first columns-cell'> <div class='foot no-items section' id='footer-2-1'></div> </td> <td class='columns-cell'> <div class='foot no-items section' id='footer-2-2'></div> </td> </tr> </tbody> </table> <!-- outside of the include in order to lock Attribution widget --> <div class='foot section' id='footer-3' name='Footer'><div class='widget Attribution' data-version='1' id='Attribution1'> <div class='widget-content' style='text-align: center;'> Ethereal theme. Powered by <a href='https://www.blogger.com' target='_blank'>Blogger</a>. </div> <div class='clear'></div> </div></div> </div> </div> <div class='footer-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </footer> <!-- content --> </div> </div> <div class='content-cap-bottom cap-bottom'> <div class='cap-left'></div> <div class='cap-right'></div> </div> </div> </div> <script type='text/javascript'> window.setTimeout(function() { document.body.className = document.body.className.replace('loading', ''); }, 10); </script> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/3576124627-widgets.js"></script> <script type='text/javascript'> window['__wavt'] = 'AOuZoY4pd-APuOwPf-ts9dK9wslyDEw1aQ:1726887885154';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d36017496','//prashuch.blogspot.com/2008/03/','36017496'); _WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '36017496', 'title': 'Welcome to the World of Knowledge and Fun...', 'url': 'http://prashuch.blogspot.com/2008/03/', 'canonicalUrl': 'http://prashuch.blogspot.com/2008/03/', 'homepageUrl': 'http://prashuch.blogspot.com/', 'searchUrl': 'http://prashuch.blogspot.com/search', 'canonicalHomepageUrl': 'http://prashuch.blogspot.com/', 'blogspotFaviconUrl': 'http://prashuch.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, 'enabledCommentProfileImages': true, 'gPlusViewType': 'FILTERED_POSTMOD', 'adultContent': false, 'analyticsAccountNumber': '', 'encoding': 'UTF-8', 'locale': 'en-US', 'localeUnderscoreDelimited': 'en', 'languageDirection': 'ltr', 'isPrivate': false, 'isMobile': false, 'isMobileRequest': false, 'mobileClass': '', 'isPrivateBlog': false, 'isDynamicViewsAvailable': true, 'feedLinks': '\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Welcome to the World of Knowledge and Fun... - Atom\x22 href\x3d\x22http://prashuch.blogspot.com/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22Welcome to the World of Knowledge and Fun... - RSS\x22 href\x3d\x22http://prashuch.blogspot.com/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22Welcome to the World of Knowledge and Fun... - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/36017496/posts/default\x22 /\x3e\n', 'meTag': '', 'adsenseClientId': 'ca-pub-8859345293937280', 'adsenseHostId': 'ca-host-pub-1556223355139109', 'adsenseHasAds': true, 'adsenseAutoAds': false, 'boqCommentIframeForm': true, 'loginRedirectParam': '', 'view': '', 'dynamicViewsCommentsSrc': '//www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js', 'dynamicViewsScriptSrc': '//www.blogblog.com/dynamicviews/bea942728df245a5', 'plusOneApiSrc': 'https://apis.google.com/js/platform.js', 'disableGComments': true, 'interstitialAccepted': false, 'sharing': {'platforms': [{'name': 'Get link', 'key': 'link', 'shareMessage': 'Get link', 'target': ''}, {'name': 'Facebook', 'key': 'facebook', 'shareMessage': 'Share to Facebook', 'target': 'facebook'}, {'name': 'BlogThis!', 'key': 'blogThis', 'shareMessage': 'BlogThis!', 'target': 'blog'}, {'name': 'Twitter', 'key': 'twitter', 'shareMessage': 'Share to Twitter', 'target': 'twitter'}, {'name': 'Pinterest', 'key': 'pinterest', 'shareMessage': 'Share to Pinterest', 'target': 'pinterest'}, {'name': 'Email', 'key': 'email', 'shareMessage': 'Email', 'target': 'email'}], 'disableGooglePlus': true, 'googlePlusShareButtonWidth': 0, 'googlePlusBootstrap': '\x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en\x27};\x3c/script\x3e'}, 'hasCustomJumpLinkMessage': false, 'jumpLinkMessage': 'Read more', 'pageType': 'archive', 'pageName': 'March 2008', 'pageTitle': 'Welcome to the World of Knowledge and Fun...: March 2008'}}, {'name': 'features', 'data': {}}, {'name': 'messages', 'data': {'edit': 'Edit', 'linkCopiedToClipboard': 'Link copied to clipboard!', 'ok': 'Ok', 'postLink': 'Post Link'}}, {'name': 'template', 'data': {'name': 'Ethereal', 'localizedName': 'Ethereal', 'isResponsive': false, 'isAlternateRendering': false, 'isCustom': false, 'variant': 'hummingBirds2', 'variantId': 'hummingBirds2'}}, {'name': 'view', 'data': {'classic': {'name': 'classic', 'url': '?view\x3dclassic'}, 'flipcard': {'name': 'flipcard', 'url': '?view\x3dflipcard'}, 'magazine': {'name': 'magazine', 'url': '?view\x3dmagazine'}, 'mosaic': {'name': 'mosaic', 'url': '?view\x3dmosaic'}, 'sidebar': {'name': 'sidebar', 'url': '?view\x3dsidebar'}, 'snapshot': {'name': 'snapshot', 'url': '?view\x3dsnapshot'}, 'timeslide': {'name': 'timeslide', 'url': '?view\x3dtimeslide'}, 'isMobile': false, 'title': 'Welcome to the World of Knowledge and Fun...', 'description': '', 'url': 'http://prashuch.blogspot.com/2008/03/', 'type': 'feed', 'isSingleItem': false, 'isMultipleItems': true, 'isError': false, 'isPage': false, 'isPost': false, 'isHomepage': false, 'isArchive': true, 'isLabelSearch': false, 'archive': {'year': 2008, 'month': 3, 'rangeMessage': 'Showing posts from March, 2008'}}}]); _WidgetManager._RegisterWidget('_NavbarView', new _WidgetInfo('Navbar1', 'navbar', document.getElementById('Navbar1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HeaderView', new _WidgetInfo('Header1', 'header', document.getElementById('Header1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogView', new _WidgetInfo('Blog1', 'main', document.getElementById('Blog1'), {'cmtInteractionsEnabled': false, 'lightboxEnabled': true, 'lightboxModuleUrl': 'https://www.blogger.com/static/v1/jsbin/128363787-lbx.js', 'lightboxCssUrl': 'https://www.blogger.com/static/v1/v-css/13464135-lightbox_bundle.css'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML6', 'main', document.getElementById('HTML6'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_FeedView', new _WidgetInfo('Feed1', 'sidebar-left-1', document.getElementById('Feed1'), {'title': 'Picaso', 'showItemDate': false, 'showItemAuthor': false, 'feedUrl': 'http://picasaweb.google.com/data/feed/base/user/prashanthkumar.chanda@gmail.com', 'numItemsShow': 2, 'loadingMsg': 'Loading...', 'openLinksInNewWindow': false, 'useFeedWidgetServ': 'true'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML4', 'sidebar-left-2-1', document.getElementById('HTML4'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML7', 'sidebar-left-2-1', document.getElementById('HTML7'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML9', 'sidebar-left-2-1', document.getElementById('HTML9'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_TextView', new _WidgetInfo('Text1', 'sidebar-left-2-1', document.getElementById('Text1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_LabelView', new _WidgetInfo('Label1', 'sidebar-left-2-1', document.getElementById('Label1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_BlogArchiveView', new _WidgetInfo('BlogArchive1', 'sidebar-left-2-1', document.getElementById('BlogArchive1'), {'languageDirection': 'ltr', 'loadingMessage': 'Loading\x26hellip;'}, 'displayModeFull')); _WidgetManager._RegisterWidget('_LinkListView', new _WidgetInfo('LinkList1', 'sidebar-left-2-1', document.getElementById('LinkList1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML1', 'sidebar-left-2-1', document.getElementById('HTML1'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML10', 'sidebar-left-2-2', document.getElementById('HTML10'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_HTMLView', new _WidgetInfo('HTML2', 'sidebar-left-3', document.getElementById('HTML2'), {}, 'displayModeFull')); _WidgetManager._RegisterWidget('_AttributionView', new _WidgetInfo('Attribution1', 'footer-3', document.getElementById('Attribution1'), {}, 'displayModeFull')); </script> </body> </html>