The user smith is asked to replace all occurrences of the letter “e” with the letter “y” in file1.txt and
save the output to fix.txt. Which command would let the user smith do so? (Choose all that apply.)
A.
sed s/e/y file1.txt > fix.txt
B.
sed /y/e/g file1.txt > fix.txt
C.
sed s/e/y/g file1.txt > fix.txt
D.
sed /y/e/g file1.txt > ./fix.txt
E.
sed s/e/y/g < file1.txt > ./fix.txt
Explanation: