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

c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

0 Answers  


how to search for vowels a,e,i,o,u appearing in the same sequence in a file

4 Answers   Amazon,


How will you copy a file from one machine to other?

0 Answers  


How to use arguments in a script?

0 Answers  


What is the syntax of "expr" command?

2 Answers  


How do I run a script on mac?

0 Answers  


What is k shell?

0 Answers  


How can we find the process name from its process id?

0 Answers  


What is meant by $1 in shell script?

0 Answers  


How to check if the previous command was run successfully?

0 Answers  


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

0 Answers  


Which is best institute for testing tool?

0 Answers  


Categories