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

sed -n 7p <filename>

Is This Answer Correct ?    10 Yes 0 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.

1286


Write a command that will display files in the current directory, in a colored, long format.

1273


why metadb requires a seperate slice to create Solaris volume manager

3250


Why is it called grep?

1085


What do chown command do?

1257


What is the search command in unix?

1133


What do chmod, chown, chgrp commands do?

1349


What does find command return in unix?

1202


What is difference between grep and find command in unix?

1276


What is rmdir command?

1153


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

1253


What does the md command do?

1199


What does the command '$ls | wc –l > file1' do?

1299


Why is awk called awk?

1136


What is $0 bash?

1255