Unix/Linux Go Back    


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

UNIX for Beginners Questions & Answers


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 09-01-2017   -   Original Discussion by rakeshp
rakeshp's Unix or Linux Image
rakeshp rakeshp is offline
Registered User
 
Join Date: Jul 2016
Last Activity: 16 September 2017, 4:25 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?

Regards
Rakesh
Sponsored Links
    #2  
Old Unix and Linux 09-01-2017   -   Original Discussion by rakeshp
Corona688's Unix or Linux Image
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 13 December 2017, 10:16 AM EST
Location: Saskatchewan
Posts: 22,546
Thanks: 1,159
Thanked 4,286 Times in 3,955 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
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 02:35 AM
Retrieve the record using 2,2 lines and display the ouput in columnwise chakkaravarthy Shell Programming and Scripting 10 06-23-2011 09:11 AM
grep command to retrieve one file toejam Shell Programming and Scripting 9 05-03-2009 12:21 AM
how to read record by record from a file in unix raoscb UNIX for Dummies Questions & Answers 1 05-16-2008 07:30 AM
how do we retrieve a line from a file in unix lmadhuri Shell Programming and Scripting 2 02-07-2007 08:07 AM



All times are GMT -4. The time now is 09:05 AM.