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 / ashwini

sed -n 1,7p <filename>

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is awk called awk?

1082


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

2259


What are bash commands?

1170


What does grep v grep do?

1083


Which command is used to create a directory?

1172


How do I clear my terminal history?

1181


What does #!/ Bin sh do?

1068


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)?

1575


Explain command to view process running?

1145


What is unix command line?

1265


What does the metacharacter mean?

1141


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

1238


What is the use of the tee command?

1100


Which unix command to make a new directory?

1152


How do I use nslookup?

1099