Q:

Which one of the following command will be used for adding two spaces before every line in emp.lst?

0

Which one of the following command will be used for adding two spaces before every line in emp.lst?


  1. sed ‘s/^/ /’ emp.lst
  2. sed ‘s / / /’emp.lst
  3. sed ‘s /$/ /’emp.lst
  4. sed ‘s/$/

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).sed ‘s/^/ /’ emp.lst

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

UNIX - FILTERS AND REGULAR EXPRESSIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which shortcut does sed offer to replace the strin... >>
<< The interval regular expression uses the character...