Manual / ls
ls(1)
| LS(1) | General Commands Manual | LS(1) |
NAME
ls - list files and directories
SYNOPSIS
ls [-lC1trdFRs] [path...]
DESCRIPTION
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.
- -l
- 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.
- -t
- Sort by time modified, latest first.
- -r
- Reverse the selected order.
- -s
- Give allocated 512-byte blocks for each entry.
- -d
- List a directory itself, not its contents.
- -F
- Append / to directory names.
- -R
- Recursively list subdirectories in depth-first name order.
- -C, -1
- 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.
FILES
/usr/man/LS this page
SEE ALSO
DIAGNOSTICS
Exit status is 0 if all operands were listed, 1 for access errors or a truncated listing, 2 for usage errors.
BUGS
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 |