Exa - An alternative to ls written in Rust

  1 min read  

Exa - An alternative to ls written in Rust

exa is a modern replacement for the ls file listing command-line program that comes with Unix and Linux operating systems, giving it more features and better standards.

It uses colors to distinguish file types and metadata. It knows symbolic links, extended attributes and Git. And it’s small, fast, and just a single binary.

By deliberately making some decisions differently, exa tries to be a more feature-rich and friendlier version of ls.

Installation

Exa is available for many distributions and operating systems:

emerge sys-apps/exa # Gentoo, Funtoo, ...
sudo apt install exa # Debian, Ubuntu, Mint, ...
sudo dnf install exa # Red Hat, CentOS, Fedora, ...
sudo pacman -S exa # Arch, Manjaro, ...
sudo xbps-install -S exa # Void Linux
sudo zypper install exa # OpenSUSE
sudo cargo install exa # Other distro or system

Use

Once installed, just run the exa command to list the files. Among the argument options are:

  • -1, --oneline: display one entry per line
  • -G, --grid: display entries as a grid (default)
  • -l, --long: display extended details and attributes
  • -R, --recurse: redirect to directories
  • -T, --tree: return to directories as a tree
  • -x, --across: sort the grid across instead of down
  • -F, --classify: display type indicator by filenames
  • --color[u]r: when using terminal colors
  • --color[u]r-scale: highlight file size levels distinctly
  • --icons: display icons
  • --no-icons: do not display icons (always replace –icons)

And among many other options that can be found on the official website of the ex:

https://the.exa.website/

Add our feed: https://en.terminalroot.com.br/feed to:

Feedly