How would you print just the 25th line in a file using
smallest shell script?
Answer Posted / swaroopa
sed -n 25p <filename>
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What are filters explain sort with all the options available?
How do I edit a .sh file?
What are zombie processes?
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.
What is the use of "$?" Sign in shell script?
Why do we write bin bash in shell scripts?
What are scripts in psychology?
How do you know which shell I am using?
Is cmd a shell?
How do I run a shell script in powershell?
How to check if the previous command was run successfully?
What happens when you type ls?
How do I open the shell prompt?
What will happen to my current process when I execute a command using exec?
Write the syntax for "if" conditionals in linux?