Dear All,
Can anybody tell me how to predefind no. of selected rows
from a text file.
Answer Posted / junhua
awk 'NR <= n'
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is a file basename?
How to redirect both standard output and standard error to the same location?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
What are script files?
What is sed in shell script?
What are the different variables present in linux shell?
What does $$ mean in shell script?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
Explain about login shell?
How do I start a shell script?
What is the syntax of "nested if statement" in shell scripting?
What are the 3 standard streams in linux?
What are the different types of shell scripting?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What is web script?