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

hi, this is sivaprasad from school of IT.

If you want exactly 7 line u can use sed command as follows

$sed -n '7,7p' filename

ok.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What will the following command do?

1061


What is nr in awk command?

1130


What does find command return in unix?

1097


How do I find previous commands in unix?

1121


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

1729


What difference between cmp and diff commands?

1240


Why is grep called grep?

1230


Which command should you use to find the remaining disk space in unix server?

1231


Who invented grep?

1105


What do know about tee command and its usage?

1121


What is the behavioural difference between cmp and diff commands?

1211


What do chgrp command do?

1139


What is the use of the command 'ls -x chapter[1-5]' ?

1152


What is the command to view process running?

1066


Write a command to kill the last background job?

1020