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 does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
What is shell company all about?
Explain about debugging?
What is the use of break command?
How do I save a powershell script?
What are the advantages of shell script?
What is bash shell command?
How do scripts work?
What happens when you type ls?
Explore about environment variables?
What is shell variable?
madhar chod unix ke 10 commands dhang se likh nahi sakta hai
What is a boot block?
How to get the first line from a file using just the terminal?
What is a shell environment?