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
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
How do I set bash as default shell mac?
What is shell terminal?
how to get part of string variable with echo command only?
What language is bash?
How will you emulate wc –l using awk?
What is bourne shell scripting?
Where are cowrie shells found?
What does echo mean in scripting?
Explain about return code?
What is shell geeksforgeeks?
What is shell company all about?
What language is used in terminal?
What does $$ mean in shell script?
Why are shell scripts used?