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 advantages of bash over all other shells?
What is shift command in shell script?
What does it mean to debug a script?
What is bash eval?
What is the first line in a shell script?
What are the default permissions of a file when it is created?
What is ms powershell?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
What is a shell environment?
What is the significance of the shebang line in shell scripting?
c program to check whether all the directories in the path exists has read and write permission
How do I edit a .sh file?