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 is the command to compare two files in unix?

1118


why metadb requires a seperate slice to create Solaris volume manager

3156


How do I clear my terminal history?

1147


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

1228


How do I use nslookup?

1092


How do I use grep to search for a file?

1052


What is command substitution?

1357


How many unix commands are there?

1151


Can you enlist some commonly used network commands?

1108


What do chmod, chown, chgrp commands do?

1283


What are bash commands?

1157


What is the difference between awk and grep?

1242


What is in grep command?

1164


What is the use of egrep command in unix?

1182


What is grep and how do you use it?

1106