FOSSPicks

File listing

Exa 0.7.0

On the terminal, ls is surely a contender for being one of the most used commands. Typing ls is often muscle memory for those of us who often navigate the filesystem from Bash, checking the contents of directories or the sizes of files. It's quick to type and often just as quick to deliver results, and there's never been a really good reason to replace it. However, this command – exa – offers enough upgrades over vanilla ls that it might be worth the alias in your bashrc. However, there are several big differences when using exa, and the first you'll notice is the output, especially long -l output. The output from exa is always full of color – and not just color for its own sake, but functional color. Each permission has a different hue, for example, as does the Date, owner, and Name columns. You can also view extended attributes and sizes, making the additional colors both easier on your eyes and a valuable addition when surfing through hundreds of files.

This profusion of color is not the only advantage exa has over ls; exa includes a tree view by default, which is still the best way of getting a good overview of your system if you can't access a GUI. You can even see which files are staged and unstaged when navigating a Git repository. Git integration may seem niche, but it's very useful if you don't use something like Powerline, as you often navigate projects from the command line while executing git status to see what's staged. Because of the way the arguments are written and because of some of the extended options, exa can't directly replace ls, and typing exa is certainly more laborious than the two finger rapidity of ls, but I've found it useful enough to replace ls in most circumstances, especially with the

exa -bghl --group-directories-first --sort name

set of arguments, which can easily be used as an alias for ls -al.

Project Website

https://the.exa.website/

One of exa's best features is its ability to show which files in a Git repository have been staged, even from the tree view.

System monitor

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Workspace – Termux

    Termux transforms an Android device into a lightweight and versatile Linux environment. This article introduces you to this must-have app.

  • Termux: Lightweight Linux Environment for Android
  • Tutorials – Natron

    Natron gives you the power to apply sophisticated effects to your videos, but its node-based interface can be a bit confusing. This tutorial will help you get a grasp on the basics.

  • Welcome

    Is blockchain finally getting interesting? I guess it always has attracted some attention – if not as an investment at least as a generator of headlines.

  • Tutorials – Natron

    Natron allows you to create eye-catching effects and combine different video clips in surprising ways, letting you build up your clips like a pro.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News