From 1d019e820040089da77713907ad14ba0e412caaf Mon Sep 17 00:00:00 2001 From: AnimiVulpis Date: Fri, 27 Oct 2017 16:38:37 +0200 Subject: [PATCH 1/2] exa: add page --- pages/common/exa.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/exa.md diff --git a/pages/common/exa.md b/pages/common/exa.md new file mode 100644 index 000000000..94ac7f7aa --- /dev/null +++ b/pages/common/exa.md @@ -0,0 +1,27 @@ +# exa + +> A modern replacement for ls (List directory contents). + +- List files one per line: + +`exa --oneline` + +- List all files, including hidden files: + +`exa --all` + +- Long format list (permissions, ownership, size and modification date) of all files: + +`exa --long --all` + +- List of files, with the largest at the top: + +`exa --reverse --sort=size` + +- Display a tree of files, three levels deep: + +`exa --long --tree --level=3` + +- List of files, sorted by modification date (oldest first): + +`exa --long --sort=modified` From 3c66fc488e40a81554c71c972da6d9b282ed943e Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Sun, 29 Oct 2017 00:02:54 +0530 Subject: [PATCH 2/2] exa: update page - Added tokens around parameters - Put backticks around ls - Simplified some descriptions. --- pages/common/exa.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/exa.md b/pages/common/exa.md index 94ac7f7aa..721d41c5f 100644 --- a/pages/common/exa.md +++ b/pages/common/exa.md @@ -1,6 +1,6 @@ # exa -> A modern replacement for ls (List directory contents). +> A modern replacement for `ls` (List directory contents). - List files one per line: @@ -14,14 +14,14 @@ `exa --long --all` -- List of files, with the largest at the top: +- List files with the largest at the top: -`exa --reverse --sort=size` +`exa --reverse --sort={{size}}` - Display a tree of files, three levels deep: -`exa --long --tree --level=3` +`exa --long --tree --level={{3}}` -- List of files, sorted by modification date (oldest first): +- List files sorted by modification date (oldest first): -`exa --long --sort=modified` +`exa --long --sort={{modified}}`