list

cmd/list

List directory contents

Overview

list shows directory contents.

Useful options:

  • --all to include hidden entries.
  • --long for detailed columns.
  • --human for readable size units.

Example usage:

list
list /config
list --all --long /users/alice

Usage

  • list [path] [--all] [--long] [--human]

Flags

FlagTypeDescription
-all - Show hidden files
-human - Show human-readable sizes (default true)
-long - Show detailed information

Exit Codes

CodeMeaning
0 Success
1 Runtime/command error
2 Invalid flags/usage