How would you print just the 25th line in a file using
smallest shell script?
Answers were Sorted based on User's Feedback
Answer / alok
awk -F"|" ' NR == 25 {print} ' emp.lst
in this file | is a field seprator
| Is This Answer Correct ? | 0 Yes | 4 No |
What are the disadvantages of shell scripting?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
How to declare functions in unix shell script?
What is shell and terminal?
How do you schedule a command to run at 4:00 every morning?
What are the different variables present in linux shell?
What are script files?
What are the different shells available?
What is the significance of the shebang line in shell scripting?
Explain about "s" permission bit in a file?
what is tickets $ what low,medium,high priorite pls define time also
How will you find the 99th line of a file using only tail and head command?