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

Explain about sourcing commands?

0 Answers  


Is shell and terminal the same?

0 Answers  


what are bootlevel in linux?which level is booting by default.

5 Answers   Symphony,


What is path variable bash?

0 Answers  


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

3 Answers  






Is cmd a shell?

0 Answers  


Write the syntax for "if" conditionals in linux?

0 Answers  


Explain about stdin, stdout and stderr?

0 Answers  


What does $@ mean bash?

0 Answers  


Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.

0 Answers   Cap Gemini, Wipro,


Is shell scripting useful?

0 Answers  


In shell scripting if text is surrounded by single quotes what does it denotes?

3 Answers  


Categories