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
How do I run a script on mac?
What is bash used for?
How to get the first line from a file using just the terminal?
Can shell script run on windows?
Why is it called a shell?
What are the different communication commands available in the shell?
How to print the first array element?
How do I save a powershell script?
What happens when you type ls?
How to get the 3rd element/column from each line from a file?
What are the various stages of a linux process it passes through?
What does it mean to debug a script?
write a shell script to check the failed jobs?
What are the 3 standard streams in linux?
Where are cowrie shells found?