Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

select second line from a file

I have SuSE 8.2 (so, I won't have the newest packages)...

I don't know what else to say. haha

I think is an easy question.. maybe something with... awk?
0
mmartha
Asked:
mmartha
1 Solution
 
wesly_chenCommented:
Hi,

 Use sed:
$ sed -n '2p' <filename>

Wesly
0
 
mmarthaAuthor Commented:
thank you  :)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now