Next: , Previous: loopback, Up: Command-line and menu entry commands


14.3.29 ls

— Command: ls [arg ...]

List devices or files.

With no arguments, print all devices known to GRUB.

If the argument is a device name enclosed in parentheses (see Device syntax), then list all files at the root directory of that device.

If the argument is a directory given as an absolute file name (see File name syntax), then list the contents of that directory.