Skip to main content

Posts

Showing posts from April, 2012

PARAPROSDOKIANS

PARAPROSDOKIANS:  Figure of speech in which the latter part of a sentence or phrase is surprising or unexpected; frequently used in a humorous situation. "Where   there's a will, I want to be in it," is a type of  paraprosdokian .        1. Do not argue with an idiot. He will drag you down to his level and beat you with experience.        2. The last thing I want to do is hurt you. But it's still on my list.        3. Light travels faster than sound. This is why some people appear bright until you hear them speak.       4. If I agreed with you, we'd both be wrong.       5. We never really grow up; we only learn how to act in public.       6. War does not determine who is right - only who is left.       7. Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad.       8. Evening news is where they begin with 'Good Evening,' and then proceed to tell you why it isn't.       9. To steal ideas from one person is plagiarism. T

Counting files in the current directory using linux

To determine how many files there are in the current directory, put in  ls -1 | wc -l . ls -1 (ie: a one): prints in one column and avoids the display of the total line (which would otherwise increase the line count). "total" indicates the number of file system blocks used by files in the directory. wc -l (ie: an L): counts the lines (as switched by the L, not interested in characters or words) From:  http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x700.html