maux
Star on GitHub Buy me a coffee

Manual / ls

ls(1)

LS(1) General Commands Manual LS(1)

ls - list files and directories

ls [-lC1trdFRs] [path...]

Ls lists the contents of one or more directories under control of several options. If no argument is given, the current directory is listed. If an argument is not a directory, its name is given. The normal order is by name.

List in long format: ProDOS type, size, modification date and name. There are no Unix ownership or rwx columns. A device entry under /dev shows BLK or CHR in the type column instead of a ProDOS file type.
Sort by time modified, latest first.
Reverse the selected order.
Give allocated 512-byte blocks for each entry.
List a directory itself, not its contents.
Append / to directory names.
Recursively list subdirectories in depth-first name order.
Force columns or one entry per line.

ProDOS has no ordinary dot-file names needing a hidden-file option.

/ and /dev are synthetic directories with no ProDOS file behind them: the root lists every online volume (never a 5.25-inch drive -- listing it never polls one), and /dev lists the fixed device names (tty, ttya0, null) plus one sNdM entry per online unit, including floppies.

/usr/man/LS this page

file(1), du(1), chmod(1), licenses(1)

Exit status is 0 if all operands were listed, 1 for access errors or a truncated listing, 2 for usage errors.

A directory listing holds at most 128 entries; truncation is reported. Recursive listing allows at most sixteen pending directory paths. Unknown clock stamps appear as '-' rather than invented dates.

September 19, 2026 maux