The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
extracting a line based on line number
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
:
extracting a line based on line number
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-20-2007
ghostdog74
Registered User
Join Date: Sep 2006
Posts: 1,582
Code:
awk -F: '$3>500{print NR" " $0}' /etc/passwd
ghostdog74
View Public Profile
Find all posts by ghostdog74