Sunday 14 December 2008

head command using sed

An alternate way to head command using sed is q or quit command..

Exp : sed '10 q' prints first 10 lines of the file and quit.

No comments:

Post a Comment

Tweets by @sriramperumalla