Archive for February, 2010
Extract first 100 lines from a file in UNIX
0I was tasked to get first 100 lines of records from a database dump. While searching big brother G, I found the solution here:- how to extract a range of lines from a file provided by zazzybob.
Here’s the solutions:-
You could also pipe though sed to extract the range – e.g.
blah | sed -n ’1,1000p’ | blah
to extract the first 1000 lines of the file
How I uses it:-
cat file.unl | sed -n ’1,100p’ > out100.unl
Cheers.
[Solved] How to switch off Google Buzz?
0When Google starts to activate the Buzz add on for Gmail, I thought it was cool.. Well I still think it is cool but at times, I’d want peace of mind and don’t want to get updated on what is going on with the people around me.
Here is how I could turn off Google Buzz.
Once you have logged into Gmail, scroll down to bottom of the page. You’ll see the “Turn off Buzz” link. Just click on that and you are then Buzzed off..

Recent Comments