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 |
Why is a script important?
Is bash a shell script?
What is bash shell command?
What is the use of "test" command?
How do I run a shell script in powershell?
The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on
How important is shell scripting?
How to customise the existing shell?
Explain about echo command?
How to group the commands in shell scripting?
Where is bash history?
What are the different shells available?