Install EXA in Ubuntu - replacement for ls (directory listing)

EXA is a modern replacement for the ls (list directory content) command.

There are many benefits for using EXA (many more features you can find on EXA website)
  • Automatic default colors
  • Recursive directory listing
  • Tree view listing
  • GIT support
  • many more see EXA website

sudo apt-get install libhttp-parser2.1
cd /usr/local/src
wget https://github.com/ogham/exa/releases/download/v0.9.0/exa-linux-x86_64-0.9.0.zip
unzip exa-linux-x86_64-0.9.0.zip
sudo mv exa-linux-x86_64 /usr/local/bin/exa

If you would like to automatically replace ls with exa so that everytime you time ls it will use EXA instead, add the following lines to your .bashrc file.

Add to your .bashrc

nano ~/.bashrc

alias ls="exa"
alias ll="exa -l"

Post a Comment

Mới hơn Cũ hơn