menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Fedora
  4. Exam
    Exam 3: Unix Commands and File System Structure
  5. Question
    Which Command Will Delete All the Blank Lines in File
Solved

Which Command Will Delete All the Blank Lines in File

Question 7

Question 7

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Q2: Host specific configuration files are installed in<br>A)/etc

Q3: The directory /srv contains<br>A)site-specific data which is

Q4: The /boot directory stores the data that

Q5: What is /bin/sh ?<br>A)bourne shell<br>B)hard or symbolic

Q6: The command "sed -n '/mcqmate/p' old.txt" will<br>A)print

Q8: Which option is used by sed to

Q9: What is a context switch?<br>A)kernel switches from

Q10: Which command is used to display disk

Q11: Which command changes a file's group owner<br>A)cgrp<br>B)chgrp<br>C)change<br>D)group

Q12: Which command is used to extract intermediate

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines