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 / srinu gadipudi

Just try this command
awk 'NR==7{print}' fiename

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awk command used for?

1246


What is grep short for?

1051


What is the use of sed command in unix?

1215


Who command in unix?

1147


Differentiate cmp command from diff command.

1180


How do I run a bash script?

1190


What is used to type command?

1064


What does the command ' $who | sort –logfile > newfile' do?

1280


What is time_t?

1119


What is the difference between cat and more command?

1303


What is the comma to show the space allocation of files?

1094


What is awk good for?

1144


What is a bash command?

1186


What do know about tee command and its usage?

1187


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

1130