Which command allows you to view the contents of a file in octal format?
Explanation
The 'od' command is used to display file contents in various formats, including octal. Other options like 'cd' change directories, while 'of' and 'oct' are not valid commands for this purpose.