How would you print just the 25th line in a file using
smallest shell script?
Answer Posted / guest
head -25 filename | tail -1
| Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What is the difference between scripting and coding?
What is meant by $1 in shell script?
How would you compare the strings in a shell script?
What is the crontab?
How can you get the value of pi till a 100 decimal places?
What does echo $0 do?
What is a program shell?
Can shell script run on windows?
What can you do with powershell?
What does chmod do?
How to get the 3rd element/column from each line from a file?
How to redirect both standard output and standard error to the same location?
What is the significance of $#?
What is option in shell script?
How to open a read-only file in the shell?