Installation auf Debian-basierten Systemen
# Per Paketmanager (empfohlen) apt install exa # Per Deb-Paket - https://github.com/ogham/exa/releases - Momentan exa v0.10.1 wget https://github.com/ogham/exa/releases/download/v0.10.1/exa-linux-x86_64-v0.10.1.zip unzip exa-linux-x86_64-v0.10.1.zip -d exa && cp ./exa/bin/exa /usr/local/bin/ rm -I --preserve-root -rf ./exa* # Per Cargo-Rust-Installer (Rustup) curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh cargo install exa
Anwendungsbeispiele
Gehaltvolle Anzeige der Daten in kurzer/langer Schreibweise mit fetten Metadaten
# exa -l -h -g -U -m /var # exa --long --header --group --created --modified /var Permissions Size User Group Date Modified Date Created Name drwx------ - root root 6 Aug 06:34 13 Sep 2017 stuff drwxr-xr-x - root root 14 Oct 2021 13 Sep 2017 cache drwxr-xr-x - root root 22 Jun 16:13 13 Sep 2017 lib drwxrwsr-x - root staff 27 Nov 2015 13 Sep 2017 local lrwxrwxrwx 9 root root 2 Mar 2016 13 Sep 2017 lock drwx------ - root root 13 Sep 2017 13 Sep 2017 lost+found drwxr-xr-x - root root 15 Sep 2017 13 Sep 2017 spool drwxrwxrwt - root root 9 Aug 17:09 13 Sep 2017 tmp drwxr-xr-x - root root 15 Sep 2017 15 Sep 2017 www
Anzeige mit verschiedenen Sortiermöglichkeiten
# Sortierte Anzeige nach der Filegröße # exa -l -h -g -U -m --sort=size -r /var/log/borg # exa --long --header --group --created --modified --sort=size --reverse /var/log/borg Permissions Size User Group Date Modified Date Created Name .rw-r----- 1.1k root root 9 Aug 17:18 18 Apr 2021 mysql_db_dump.log .rw-r----- 3.7k root root 10 Dec 2019 18 Nov 2019 borgbackup-prune.log .rw-r----- 1.4M root root 9 Aug 17:18 18 Apr 2021 borgmatic.log .rw-r----- 1.6M root root 18 Apr 2021 5 Jul 2019 borgbackup.lo # Sortierte Anzeige nach dem Alter # exa -l -h -g -U -m --sort=age /var # exa --long --header --group --created --modified --sort=age /var Permissions Size User Group Date Modified Date Created Name drwxr-xr-x - root root 29 Jul 06:19 13 Sep 2017 bin drwxr-xr-x - root root 22 Jun 16:13 13 Sep 2017 share drwxr-xr-x - root root 10 Mar 2019 13 Sep 2017 local drwxr-xr-x - root root 27 Nov 2015 13 Sep 2017 games # Sortierte Anzeige nach der File-Extension # exa -l -h -g -U -m --sort=ext /var # exa --long --header --group --created --modified --sort=ext /var/log/syslog* Permissions Size User Group Date Modified Date Created Name .rw-r----- 823k syslog adm 9 Aug 18:37 9 Aug 06:34 /var/log/syslog .rw-r----- 1.7M syslog adm 9 Aug 06:34 8 Aug 06:34 /var/log/syslog.1 .rw-r----- 216k syslog adm 8 Aug 06:34 9 Aug 06:34 /var/log/syslog.2.gz .rw-r----- 232k syslog adm 7 Aug 06:34 8 Aug 06:34 /var/log/syslog.3.gz