Vidyalelo
Computer Science · Q25

UNIX

Engineering and GATE · Computer Science · question 25

Q25

Which command is used to display a file contents in octal form?

A.
cd
B.
od
Answer
C.
of
D.
oct
E.
None of the above

Answer: Option B

Solution

Answer: Option B
Solution:
In Unix, the od command is used to display file contents in octal form. It stands for "octal dump".
So, od is the correct command to display a file's contents in octal form.