From 8e61b3742a3e3134c8cebcc19b48a1f70ed6990f Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sat, 23 Feb 2019 21:32:29 +0000 Subject: [PATCH] updated tests --- tests/results/2 | 41 ++++++++++++++++++++++++----------------- tests/results/3 | 41 ++++++++++++++++++++++++----------------- 2 files changed, 48 insertions(+), 34 deletions(-) diff --git a/tests/results/2 b/tests/results/2 index 7b1f52f..c7b10dc 100644 --- a/tests/results/2 +++ b/tests/results/2 @@ -1,17 +1,24 @@ -# Displays everything in the target directory -ls path/to/the/target/directory - -# Displays everything including hidden files -ls -a - -# Displays all files, along with the size (with unit suffixes) and timestamp -ls -lh  - -# Display files, sorted by size -ls -S - -# Display directories only -ls -d */ - -# Display directories only, include hidden -ls -d .*/ */ +#  +# ls +#  +# List directory contents. +#  +# List files one per line: + ls -1 +#  +# List all files, including hidden files: + ls -a +#  +# Long format list (permissions, ownership, size and modification date) of all files: + ls -la +#  +# Long format list with size displayed using human readable units (KB, MB, GB): + ls -lh +#  +# Long format list sorted by size (descending): + ls -lS +#  +# Long format list of all files, sorted by modification date (oldest first): + ls -ltr +#  +#  diff --git a/tests/results/3 b/tests/results/3 index 41a116a..3d2f50a 100644 --- a/tests/results/3 +++ b/tests/results/3 @@ -1,17 +1,24 @@ -# Displays everything in the target directory -ls path/to/the/target/directory - -# Displays everything including hidden files -ls -a - -# Displays all files, along with the size (with unit suffixes) and timestamp -ls -lh - -# Display files, sorted by size -ls -S - -# Display directories only -ls -d */ - -# Display directories only, include hidden -ls -d .*/ */ +# +# ls +# +# List directory contents. +# +# List files one per line: + ls -1 +# +# List all files, including hidden files: + ls -a +# +# Long format list (permissions, ownership, size and modification date) of all files: + ls -la +# +# Long format list with size displayed using human readable units (KB, MB, GB): + ls -lh +# +# Long format list sorted by size (descending): + ls -lS +# +# Long format list of all files, sorted by modification date (oldest first): + ls -ltr +# +#