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 is grep in bash?

1060


What are awk commands?

1156


What is command statement?

1167


Explain ‘system calls’ with respect to unix commands?

1093


What is grep and how do you use it?

1106


Which command is used to find whether the system is 32 bit or 64 bit?

1146


How to display no of records in oracle using unix command?

1169


How do you grep recursively?

1105


What is the size of time_t?

1208


Is command prompt unix?

1151


What are the commands in UNIX to list the files in a Directory?

1180


What is the first character of the output in ls l command?

1209


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1565


Write a command to kill the last background job?

1098


Who command in unix?

1138