Multiple Choice
You have a text file that contains empty lines. Using grep and regular expressions, which command displays the file without the empty lines?
A) grep ^$ file
B) grep [\ ] file
C) grep -v ^$ file
D) grep -v #$ file
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q14: You have a test directory with the
Q15: How do you activate an ACL when
Q16: Which file contains information about which user
Q17: You created a script (/root/bin/backup.sh) that backs
Q18: Which are journaling file systems? (Choose 3.)<br>A)
Q20: Using the nice command, what is the
Q21: The GRUB configuration file (/boot/grub/menu.lst) has a
Q22: Which command can you use to generate
Q23: Which are benefits of using LVM? (Choose
Q24: You entered your quota information in /etc/fstab.