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 / sundar octavious

head -51 <filename> |tail -1

The above command will display the answer.

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the metacharacter mean?

1141


What is the difference between awk and grep?

1260


Which command will print your home directory on screen?

1087


Which command is used to copy files?

1179


What is rmdir command?

1115


What is grep in bash?

1069


What is awk used for?

1138


What is the use of tee command?

1171


What are the commands in UNIX to list the files in a Directory?

1192


What is difference between grep and find command in unix?

1217


What is the command to compare two files in unix?

1127


why metadb requires a seperate slice to create Solaris volume manager

3172


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

1155


What is $0 bash?

1209


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

1216