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

Using VI editor this can be done like this.

type this command.

:1,7w <newfilename>

All Good
Mo

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chgrp command do?

1289


how to sort the content of the file based on numeric values

1842


What is ctrl d?

1157


What is the use of sed command in unix?

1258


How do I search for text in vi?

1102


What is grep and how do you use it?

1175


Name the various commands that are used for the user information in unix.

1136


What is the size of time_t?

1272


What's a command word?

1254


Explain ‘system calls’ with respect to unix commands?

1158


What is the pipe command?

1247


How many unix commands are there?

1209


What is difference between grep and find command in unix?

1278


What is the difference between grep and grep?

1189


What is “chmod” command?

1244