Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find the 51th record of a file containing 100 records
in unix.

Answer Posted / dinesh kumar

awk 'NR=51 Printf{$0}' filename

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does this command do,"$more readme.txt“?

1211


Is ‘du’ a command? If so, what is its use?

1206


Which command is used to copy files?

1252


What does sed command do in unix?

1250


Explain ‘library functions’ with respect to unix commands?

1217


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1632


What is $0 bash?

1258


What will the following command do?

1176


What is updatedb?

1094


What is the command to find maximum memory taking process on the server?

1267


What is in grep command?

1216


Name the various commands that are used for the user information in unix.

1136


What difference between cmp and diff commands?

1352


Which command is used to delete all files in the current directory and all its sub-directories?

1318


What is the first character of the output in ls l command?

1263