1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 02:55:33 +02:00

lsd: add page (#6654)

This commit is contained in:
Alwin Lohrie 2021-10-07 19:39:46 +02:00 committed by GitHub
parent e0aa976dbe
commit 9373a1ab23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

37
pages/common/lsd.md Normal file
View file

@ -0,0 +1,37 @@
# lsd
> List directory contents.
> The next generation `ls` command, written in Rust.
> More information: <https://github.com/Peltoche/lsd>.
- List files and directories, one per line:
`lsd -1`
- List all files and directories, including hidden ones, in the current directory:
`lsd -a`
- List all files and directories with trailing `/` added to directory names:
`lsd -F`
- List all files and directories in long format (permissions, ownership, size, and modification date):
`lsd -la`
- List all files and directories in long format with size displayed using human-readable units (KiB, MiB, GiB):
`lsd -lh`
- List all files and directories in long format, sorted by size (descending):
`lsd -lS`
- List all files and directories in long format, sorted by modification date (oldest first):
`lsd -ltr`
- Only list directories:
`lsd -d {{*/}}`