Kudithipudi.Org

January 22, 2009

Be careful what you put up on Facebook..

Filed under: Fun,Rantings — Vinay @ 10:51 pm

Ran across this story on BBC (http://news.bbc.co.uk/2/hi/uk_news/england/staffordshire/7845946.stm) about a women being stabbed to death by her husband because she changed her status to “single” from “married” on Facebook.. WTF?????  What is wrong with people!!

Morale of the story : Be careful.. what you put up on the Internet.. :-).

P.S : As you can see.. that rule doesn’t apply to me :-).

HOW TO : Delete duplicate lines in Linux/Unix

Filed under: HOWTO,Linux,Technology — Vinay @ 2:22 am

If you have a large text file and want to quickly delete any duplicate lines, you can use the following option of sort in *nix..

sort -u filename > newfilename

If you want to get even funkier :), like only checking duplicates on a particular column, feel free to check out this link http://www.gnu.org/software/coreutils/manual/html_node/sort-invocation.html#sort-invocation.

Powered by WordPress