Cmd Generator

ls

List directory contents.

ls

Examples

# List files in long format
ls -l

# Show all files including hidden
ls -a

# Long format with human-readable sizes
ls -lh

# Recursive listing
ls -R /path

# Sort by time, most recent first
ls -lt

# Sort by size
ls -lS