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 |
How do you read arguments in a shell program - $1, $2 ..?
How does ls command work?
What are the different types of variables used in shell script?
What's the difference between scripting and coding?
What are the advantages of shell script?
What are environment variables?
What is shell prompt?
What is bourne shell scripting?
What is a command line shell?
Why should we use shell scripts?
What does it mean to debug a script?
Differentiate between ‘ and ” quotes.