Vidyalelo
Computer Science · Q492

Linux

Engineering and GATE · Computer Science · question 492

Q492

Which is the correct syntax for sed on command line?

A.
sed [options] '[command]' [filename].
Answer
B.
sed '[command]' [options] [filename].
C.
sed [filename] [options] '[command]'
D.
sed '[command]' [filename] [options].

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board