Interviewer And Interviewee Guide

Linux OS Editors Interview Question:

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

Submitted by: Murtaza
c) sed '/^$/d' old.txt
Submitted by: Murtaza

Read Online Linux OS Editors Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.