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 happens when we execute a unix command?

1194


What is difference between grep and find command in unix?

1276


What is the search command in unix?

1133


What does awk stand for?

1143


Explain command to view process running?

1178


What is the use of sed command in unix?

1258


Give the command for finding the current date.

1173


What is the command to view process running?

1154


What does the command '$ls | wc –l > file1' do?

1299


What is the comma to display different lines that are found when compare two files?

1246


What command is used to check the current users?

1172


Is grep faster than awk?

1083


What difference between cmp and diff commands?

1351


Is it inbetween or in between?

1108


How do I run a bash script?

1241