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 is the advaantage of each user having its own copy of the shell?

2550


Is grep faster than awk?

1041


Is it inbetween or in between?

1047


What does awk stand for?

1077


What is pipe command in unix?

1302


How do I run a whois command?

1154


Explain command to view process running?

1127


What is awk good for?

1134


How to use grep command to list find the records of a file containing 10 different strings?

1126


What is the command to compare two files in unix?

1120


How to display no of records in oracle using unix command?

1170


Which unix command lists files/folders in alphabetical order?

1754


Describe the usage and functionality of the command rm –r * in unix?

2098


Write a command to display a file’s contents in various formats?

1209


How does shebang work?

1065