Next: , Previous: , Up: Command-line and menu entry commands   [Contents][Index]

16.3.9 cat

Command: cat [--dos] file

Display the contents of the file file. This command may be useful to remind you of your OS’s root partition:

grub> cat /etc/fstab

If the --dos option is used, then carriage return / new line pairs will be displayed as a simple new line. Otherwise, the carriage return will be displayed as a control character (‘<d>’) to make it easier to see when boot problems are caused by a file formatted using DOS-style line endings.