LinuxCommandLibrary

lt

lists directory contents as a tree

TLDR

List files as tree

$ lt
copy
List specific directory
$ lt [directory/]
copy
Show hidden files
$ lt -a
copy
Limit depth
$ lt -L [2]
copy
Show file details
$ lt -l
copy
Color output
$ lt --color
copy

SYNOPSIS

lt [options] [path]

DESCRIPTION

lt lists directory contents as a tree. It's an alias or alternative for tree-style listings.
The tool displays hierarchical directory structure visually. May be an alias for lsd --tree or similar.

PARAMETERS

PATH

Directory to list.
-a
Show hidden files.
-L DEPTH
Maximum depth.
-l
Long listing format.
--color
Enable color output.
--help
Display help information.

CAVEATS

May be an alias. Varies by system. Check actual implementation.

HISTORY

lt is commonly configured as an alias for tree-style directory listing, often using lsd or exa.

SEE ALSO

tree(1), lsd(1), exa(1), ls(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community