The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
how to print 35th line from a file ?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
how to print 35th line from a file ?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-14-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: k-tier distributed caching
Posts: 2,736
one more,
Code:
perl
-e 'while (<>) { print $_ if ($. == 35 ); }' filename
matrixmadhan
View Public Profile
Find all posts by matrixmadhan