Which command will delete all the blank lines in file old.txt?
A) sed '/d' old.txt
B) sed '/^/d' old.txt
C) sed '/^$/d' old.txt
D) sed '/^*/d' old.txt
Correct Answer:
Verified
Q3: Which command is used to display disk
Q4: Which command is used to perform backup
Q5: Which command creates an empty file if
Q6: Which option of rm command is used
Q7: Write the command to display the current
Q9: The command "sed -n '/mcqmate/p' old.txt" will
A)print
Q10: Which option is used by sed to
Q11: When we install a new package in
Q12: Host specific configuration files are installed in
A)/etc
Q13: The directory /media is the
A)mount point for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents