How will you list only the empty lines in a file (using
Answers were Sorted based on User's Feedback
Answer / guest
grep "^$" filename
|Is This Answer Correct ?||23 Yes||3 No|
Answer / junhua
sed -n '/^$/p' file
|Is This Answer Correct ?||11 Yes||3 No|
Answer / meeran
awk '/^$/' filename
|Is This Answer Correct ?||7 Yes||2 No|
Answer / kiran penujuri
find . -size 0 -print
|Is This Answer Correct ?||1 Yes||9 No|
Explain about the slow execution speed of shells?
What does chmod do?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
I have 2 files and I want to print the records which are common to both.
How would you print just the 25th line in a file using smallest shell script?
What command needs to be used to take the backup?
What language is shell scripting?
What does it mean to debug a script?
What is awk in shell script?
Is it possible to substitute "ls" command in the place of "echo" command?
HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?
What is inside a seashell?