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

Hi,

Try with the below command

sed -n '7p' <file name>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the command for finding the current date.

1031


What happens when we execute a unix command?

1083


Which unix command to make a new directory?

1060


What do know about tee command?

1098


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1137


How does pipe () work?

1035


What is the command to compare two files in unix?

1052


Explain ‘system calls’ with respect to unix commands?

1038


Is ‘du’ a command? If so, what is its use?

1088


What are file commands?

1155


What is grep short for?

992


Who wrote grep?

1011


What is merge command in unix?

1442


Why is it called grep?

968


Does cp command overwrite files?

1130