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...


Dear All,
Can anybody tell me how to predefind no. of selected rows
from a text file.



Dear All, Can anybody tell me how to predefind no. of selected rows from a text file...

Answer / junhua

awk 'NR <= n'

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More Shell Script Interview Questions

write a non recursive shell script that accepts any number of arguments and prints them in the reverse order

3 Answers  


Hi All, Is it possible to create one file name only space or space in file name in UNIX and we can able to run that on Unix?

2 Answers   Cap Gemini,


How can I set the default rwx permission to all users on every file which is created in the current shell?

0 Answers  


What is a scripting language simple definition?

0 Answers  


What is shell and shell script?

0 Answers  


What is option in shell script?

0 Answers  


What does .sh file contain?

0 Answers  


Differentiate between ‘ and ” quotes.

0 Answers  


How would you compare the strings in a shell script?

0 Answers  


What is awk in shell scripting?

0 Answers  


What is difference between shell and bash scripting?

0 Answers  


What is the need of including script interpreter in your shell script?

2 Answers  


Categories