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...

if we create a file, in that 10 rows(means 1,2,....9,10
like). i want 7 row exactly, which command use in unix?
plz send this question.

Answer Posted / thomas k

please try this. it will work.
head -7 <filename> | tail -1

Is This Answer Correct ?    42 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the steps that a shell follows while processing a command.

1226


Give the command for finding the current date.

1102


How does pipe () work?

1088


How do I use grep to find a file?

1110


What is the use of the tee command?

1093


What is grep command in unix with examples?

1208


What is the use of finger command?

1205


Why is awk called awk?

1068


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

1205


What is difference between grep and find command in unix?

1206


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

1165


What is the use of awk command in unix?

1116


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

1210


What are reported commands?

1123


What is the function of grep command in unix?

1171