How would you print just the 25th line in a file using
smallest shell script?
Answer Posted / alok
awk -F"|" ' NR == 25 {print} ' emp.lst
in this file | is a field seprator
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
When should shell programming/scripting not be used?
What is a beat in a script?
How many fields are present in a crontab file and what does each field specify?
Please give me example of " at command , contrab command " how to use
What is shell and terminal?
Is scripting and coding the same thing?
Why is shell scripting important?
How will you emulate wc –l using awk?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
What is the use of .sh file?
What does the sh command do?
What are zombie processes?
What lives in a shell?
Is shell scripting easy to learn?
What is a batch file used for?