How will you list only the empty lines in a file (using
grep)?
Answer Posted / junhua
sed -n '/^$/p' file
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What are the types of script?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
What is the equivalent of a file shortcut that we have a window on a linux system?
What lives in a shell?
determine the output of the following command: echo ${new:-variable}
What is the difference between scripting and coding?
What are the disadvantages of shell scripting?
Why are shell scripts used?
What are filters explain sort with all the options available?
What is the default ubuntu terminal?
Is shell scripting useful?
What's the difference between scripting and coding?
Write the syntax for "if" conditionals in linux?
How to write a function?
What is the default shell of solaris?