Search for Tips & Tricks

Google
 

Sunday, January 20, 2008

How to Extract a single line from a file

$sed -ne 5p help | /bin/bash

The above command will extract 5th Line from the file 'help'

No comments: