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 / ruchi agarwal

head -n 51 filename |tail -1

Is This Answer Correct ?    45 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the behavioural difference between cmp and diff commands?

1342


Describe the zip/unzip command using gzip.

1227


What is the difference between cat command and more command?

1272


What does 'mkdir' command do in UNIX?

1376


How do I run a whois command?

1204


Can you enlist some commonly used network commands?

1158


Write a command to kill the last background job?

1155


how to sort the content of the file based on numeric values

1842


What will the following command do?

1176


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

1251


What is grep r?

1162


What is the use of the command 'ls -x chapter[1-5]' ?

1271


How does the system know where one command ends and another begins?

2314


What is the general format of unix command syntax?

2035


What is the use of cut command in unix?

1432