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 / krishna reddy

sed -n '7p' <filename>

or
head -8 <filename>|tail -1

Is This Answer Correct ?    0 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 awk command used for?

1125


What are reported commands?

1070


Which command can you use to find the currently running process in unix server?

1067


How do I run a whois command?

1097


What are grep patterns?

1011


How many unix commands are there?

1097


What does the “echo” command do?

1093


What is command substitution?

1263


What is command statement?

1102


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

1151


What do chmod command do?

1136


What is {} in find command?

1048


What does find command return in unix?

1097


What does grep v do?

999