Listing the contents of a directory is a common task that Linux users carry out. The ls command is commonly used for this operation and it sure does a decent job in displaying all the files and sub-folders contained in a directory. With additional options, you can even display the file size, file permissions, and ownership among other file attributes.
Written in Rust programming language, Exa is a fast & improved file listing tool that enhances the output of the ls command. The tool provides the following features:
At the moment, Exa is only available for Linux and macOS systems. However, the developers have given their assurance that they will make it available for Windows in the not-so-far future.
As earlier mentioned, Exa is written in Rust programming language. But thankfully, there is a precompiled version of the Exa command available, so we don't have to compile it ourselves.
You can find the latest binary files on the exa installation page or GitHub.Currently, the latest version is Exa v0.10.0.
Using the wget command, grab the exa binary file.
$ wget -c https://github.com/ogham/exa/releases/download/v0.10.0/exa-linux-x86_64-v0.10.0.zip
With the binary file downloaded, unzip it.
$ unzip exa-linux-x86_64-v0.10.0.zip
This extracts the contents into a bin folder. The folder contains a single binary file called exa. This binary file needs to be copied to the /usr/local/bin path.
Therefore, navigate into the bin folder and move the binary file to the /usr/local/bin path.
$ cd bin $ sudo mv exa /usr/local/bin
Exa is now installed. To confirm this, verify the version as follows:
$ exa --version
The exa command, without any options, lists the contents of a directory just as the ls command would. However, to reap the full benefits and the juice that exa provides, use the -l option for a long listing.
$ exa -l
From the output, you can see that all file attributes starting with file or directory permissions are color-coded. This is quite a huge contrast from what the ls -l command would provide.
For more exa options, visit the Exa GitHub project page.
Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…
ISPConfig is an open-source control panel that allows users to manage multiple servers from a…
As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…
Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…
Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…
phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…