Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

What is the first line of a shell script called?

0 Answers  


Write a shell script to check whether a number is Armstrong number or not?

1 Answers   Flipkart,


Is bash a shell script?

0 Answers  


Why are shell scripts used?

0 Answers  


how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example

4 Answers  






What does sh mean?

0 Answers  


is this growing field and what is average package in this?

0 Answers  


Write a script to print the first 10 elements of fibonacci series.

0 Answers  


What is the use of script interpreter in shell scripting?

3 Answers  


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

3 Answers  


Is shell scripting easy to learn?

0 Answers  


If you have a string "one two three", which shell command would you use to extract the strings?

5 Answers  






Categories