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

Which command is used to create a directory?

1230


What is awk good for?

1194


How do I search a whole word in vim?

1224


How to use grep command to list find the records of a file containing 10 different strings?

1196


What will the following command do?

1176


What is awk command used for?

1328


Explain command to view process running?

1178


What is s and g in sed command?

1165


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

1231


What is rmdir command?

1155


What is awk used for?

1179


Explain command to display different lines that are found when compare two files?

1222


What is the difference between grep and grep?

1189


What is the function of grep command in unix?

1234


Which command is used to delete all files in the current directory and all its sub-directories?

1318