How would you print just the 25th line in a file using
smallest shell script?
Answer Posted / santana20142003
$ls -lrt | awk 'NR==2'
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
Why is shell scripting important?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What are the different types of variables used in shell script?
How do I edit a .sh file?
What is the default ubuntu terminal?
What is the purpose of scripting?
What are script files?
What is the command to find out users on the system?
What is echo in shell?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
How to use arguments in a script?
Write down the syntax for all the loops in shell scripting.
What is meant by $1 in shell script?
Explain about gui scripting?
Explain about the exit command?