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
Give some situations where typing error can destroy a program?
Please give me example of " at command , contrab command " how to use
How does shell scripting work?
What is the purpose of scripting?
How will you emulate wc –l using awk?
What is bash used for?
What is subshell?
What is shell geeksforgeeks?
Explain about echo command?
What is bourne shell scripting?
What does echo $0 do?
what is tickets $ what low,medium,high priorite pls define time also
What is awk in shell scripting?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What is echo $shell?