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 .sh file contain?
What is batch file programming?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
What are the various stages of a linux process it passes through?
How does path variable work?
What is a shell? · Types of shell · what is shell scripting?
What happens when you type ls?
What are the two files of crontab command?
What is console line?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
Why do we write bin bash in shell scripts?
What is shell application?
How to set an array in linux?
Why is the use of shell script?
How do I run a powershell script?