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

hai this Hari

try this

$sed -n '1,7p' <filename>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘ps’ command for?

1180


What is a bash command?

1173


Explain command to show the space allocation of files?

1120


What are the dos commands?

1257


What do know about tee command?

1155


Write a command to kill the last background job?

1098


What is the comma to display different lines that are found when compare two files?

1152


What is unix command?

1256


How many unix commands are there?

1151


How does pipe () work?

1088


What is pipe command in unix?

1301


What is unix command line?

1248


What is the functionality of a top command?

1101


What are the unix commands?

1095


What do chmod command do?

1216