How will you list only the empty lines in a file (using
grep)?
Answer Posted / meeran
awk '/^$/' filename
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Where is bash history?
What is bash eval?
How do I save a powershell script?
What is the meaning of $1 in shell script?
What is the lifespan of a variable inside a shell script?
Calculate a real number calculation directly from the terminal and not any shell script.
How to print pid of the current shell?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What is echo in shell?
Is bash an operating system?
How to find duplicate record in file using shell script?
What is the syntax of "nested if statement" in shell scripting?
What does echo mean in scripting?
Explain about echo command?
Why do we use shell scripting?