Forrest logo
back to the exa tool

exa:tldr:af5e3

exa: List files with their headers, icons, and Git statuses.
$ exa --long --header --icons --git
try on your machine

The command exa --long --header --icons --git is used to view the contents of a directory in a more detailed and visually appealing format.

Here's a breakdown of each option used in the command:

  • exa: This is the main command which stands for "expanded ls". It is an alternative to the traditional ls command and provides more features and better default settings.

  • --long: This option displays the detailed information about each file or directory. It includes file permissions, ownership, size, modification date, etc.

  • --header: This option displays column headers at the top to label each information category.

  • --icons: This option adds icons or symbols next to each file or directory to represent its type. For example, a folder could be represented by a folder icon, a text file by a document icon, etc. This makes it easier to identify file types at a glance.

  • --git: This option enables git-related information specifically for directories that are Git repositories. It displays additional details such as the branch name, modified files, etc.

By combining these options, the command will generate a detailed and visually enhanced listing of the contents of a directory, including file information, column headers, icons for file types, and extra git-related details if applicable.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the exa tool