lsd

List directory contents.

TLDR

List files and directories, one per line

$ lsd -1
copy

List all files and directories, including hidden ones, in the current directory

$ lsd -a
copy

List all files and directories with trailing / added to directory names

$ lsd -F
copy

List all files and directories in long format (permissions, ownership, size, and modification date)

$ lsd -la
copy

List all files and directories in long format with size displayed using human-readable units (KiB, MiB, GiB)

$ lsd -lh
copy

List all files and directories in long format, sorted by size (descending)

$ lsd -lS
copy

List all files and directories in long format, sorted by modification date (oldest first)

$ lsd -ltr
copy

Only list directories

$ lsd -d [*/]
copy

Copied to clipboard
coinbase