Forrest logo
tool overview
On this page you find all important commands for the CLI tool lsd. If the command you are looking for is missing please ask our AI.

lsd

Lsd is a command line tool written in Rust that aims to provide a modernized and enhanced version of the standard "ls" command. It offers a more colorful and visually appealing directory listing experience with improved readability. Lsd supports multiple platforms including Linux, macOS, and Windows, making it highly versatile and accessible to a wide range of users. The tool provides various options and flags to customize the output, allowing users to tailor the directory listing according to their preferences. Lsd is designed to be intuitive and user-friendly, making it suitable for both novice and experienced command line users. It supports different view modes such as grid, tree, and classic, enabling users to choose the layout that best suits their needs. Lsd supports different color themes, allowing users to personalize the appearance of the directory listing. The tool also supports metadata display, showing additional information about files and directories such as permissions, file sizes, and timestamps. Lsd has a fast and efficient performance due to its being written in Rust, ensuring quick response times even with large directory listings. Overall, lsd is a powerful and visually appealing alternative to the traditional "ls" command, providing a modern and enhanced directory listing experience on the command line.

List of commands for lsd:

  • lsd:tldr:47e8d lsd: List all files and directories in long format, sorted by modification date (oldest first).
    $ lsd -ltr
    try on your machine
    explain this command
  • lsd:tldr:4f35c lsd: List files and directories, one per line.
    $ lsd -1
    try on your machine
    explain this command
  • lsd:tldr:6e38c lsd: List all files and directories with trailing `/` added to directory names.
    $ lsd -F
    try on your machine
    explain this command
  • lsd:tldr:6e9f8 lsd: List all files and directories, including hidden ones, in the current directory.
    $ lsd -a
    try on your machine
    explain this command
  • lsd:tldr:a5be1 lsd: List all files and directories in long format, sorted by size (descending).
    $ lsd -lS
    try on your machine
    explain this command
  • lsd:tldr:d44f1 lsd: List all files and directories in long format (permissions, ownership, size, and modification date).
    $ lsd -la
    try on your machine
    explain this command
  • lsd:tldr:e6c71 lsd: Only list directories.
    $ lsd -d ${*-}
    try on your machine
    explain this command
  • lsd:tldr:f24a6 lsd: List all files and directories in long format with size displayed using human-readable units (KiB, MiB, GiB).
    $ lsd -lh
    try on your machine
    explain this command
tool overview