How will you list only the empty lines in a file (using
grep)?
Answer Posted / kiran penujuri
find . -size 0 -print
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
What is the best scripting language?
What is $1 in shell scripting?
Write down the syntax for all the loops in shell scripting.
What is the difference between grep and egrep?
What shell is bin sh?
Is cmd a shell?
Differentiate between ‘ and ” quotes.
write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.
What is sed in shell script?
Which shell is the best?
What are the advantages of shell scripting?
What is bash eval?
How to write a function?
What is a shell made of?
How to get the 3rd element/column from each line from a file?