UNIX for Beginners Questions & Answers

If you're not sure where to post a Unix or Linux question, post it here. All unix and Linux beginners welcome in this forum!

awk command to retrieve record 23 and 89 from UNIX file

👤 Login to reply

Thread Tools Search this Thread Display Modes
Old 09-01-2017
rakeshp rakeshp is offline
Registered User
Join Date: Jul 2016
Last Activity: 14 June 2018, 10:52 PM EDT
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
awk command to retrieve record 23 and 89 from UNIX file

Hi Everyone,

I am looking for awk command to retrieve only the record number 23 and record number 89 from a unix file? Please let me know what is the awk command for this?

Sponsored Links
Old 09-01-2017
Corona688 Corona688 is online now Forum Staff  
Mead Rotor
Join Date: Aug 2005
Last Activity: 19 July 2018, 6:51 PM EDT
Location: Saskatchewan
Posts: 22,725
Thanks: 1,193
Thanked 4,350 Times in 4,005 Posts
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with Getting distinct record count from a .dat file using UNIX command MS06 Shell Programming and Scripting 1 06-07-2016 01:35 AM
Retrieve the record using 2,2 lines and display the ouput in columnwise chakkaravarthy Shell Programming and Scripting 10 06-23-2011 08:11 AM
grep command to retrieve one file toejam Shell Programming and Scripting 9 05-02-2009 11:21 PM
how to read record by record from a file in unix raoscb UNIX for Dummies Questions & Answers 1 05-16-2008 06:30 AM
how do we retrieve a line from a file in unix lmadhuri Shell Programming and Scripting 2 02-07-2007 07:07 AM

All times are GMT -4. The time now is 07:06 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?