Unix - Engineering

Q1:

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

A cd

B od

C of

D oct

E None of the above

ANS:B - od

od command in Linux is used to output the contents of a file in different formats with the octal format being the default.

This command is especially useful when debugging Linux scripts for unwanted changes or characters.