list
cmd/list
List directory contents
Overview
list shows directory contents.
Useful options:
--allto include hidden entries.--longfor detailed columns.--humanfor readable size units.
Example usage:
list
list /config
list --all --long /users/alice
Usage
list [path] [--all] [--long] [--human]
Flags
| Flag | Type | Description |
|---|---|---|
-all |
- |
Show hidden files |
-human |
- |
Show human-readable sizes (default true) |
-long |
- |
Show detailed information |
Exit Codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Runtime/command error |
2 |
Invalid flags/usage |