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

Why is awk called awk?

1044


How can we use grep command in unix?

1162


What command is used to switching between users in unix?

1044


How do I find previous commands in unix?

1143


What do know about tee command and its usage?

1144


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

1112


What is difference between grep and find command in unix?

1163


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

2198


What does sed command do in unix?

1139


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

1195


Is it inbetween or in between?

1015


Differentiate cmp command from diff command.

1126


Why is grep called grep?

1249


What is a bash command?

1139


What is the significance of the 'tee' command?

1164