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 language is bash written in?
How do I set bash as default shell mac?
When should shell programming/scripting not be used?
What is shell application?
What is subshell?
What is the difference between scripting and coding?
What is the significance of the shebang line in shell scripting?
What is a beat in a script?
How does shell scripting work?
Why is a script important?
What is the equivalent of a file shortcut that we have a window on a linux system?
What are zombie processes?
Give some situations where typing error can destroy a program?
How can you find out how long the system has been running?
What is bash eval?