The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-05-2008
denn denn is offline
Registered User
 

Join Date: Jul 2007
Posts: 93
To print the 3rd line of a file:

Code:
sed -n '3 p' < filename
Reply With Quote