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 |
is this growing field and what is average package in this?
determine the output of the following command: echo ${new:-variable}
write a shell script to find the largest number from 3 given numbers.
What does path stand for?
What is the command to find out today's date?
What is the use of echo in shell script?
What is shell and shell script?
Explain about login shell?
What is an sh file?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What is an inode block?
How to modify the PATH variable and make it executable?