Skip to content

Commit 8e61b37

Browse files
committed
updated tests
1 parent 1d99037 commit 8e61b37

File tree

2 files changed

+48
-34
lines changed
  • tests/results

2 files changed

+48
-34
lines changed

tests/results/2

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
# Displays everything in the target directory
2-
ls path/to/the/target/directory
3-
4-
# Displays everything including hidden files
5-
ls -a
6-
7-
# Displays all files, along with the size (with unit suffixes) and timestamp
8-
ls -lh 
9-
10-
# Display files, sorted by size
11-
ls -S
12-
13-
# Display directories only
14-
ls -d */
15-
16-
# Display directories only, include hidden
17-
ls -d .*/ */
1+
# 
2+
# ls
3+
# 
4+
# List directory contents.
5+
# 
6+
# List files one per line:
7+
 ls -1
8+
# 
9+
# List all files, including hidden files:
10+
 ls -a
11+
# 
12+
# Long format list (permissions, ownership, size and modification date) of all files:
13+
 ls -la
14+
# 
15+
# Long format list with size displayed using human readable units (KB, MB, GB):
16+
 ls -lh
17+
# 
18+
# Long format list sorted by size (descending):
19+
 ls -lS
20+
# 
21+
# Long format list of all files, sorted by modification date (oldest first):
22+
 ls -ltr
23+
# 
24+
# 

tests/results/3

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
# Displays everything in the target directory
2-
ls path/to/the/target/directory
3-
4-
# Displays everything including hidden files
5-
ls -a
6-
7-
# Displays all files, along with the size (with unit suffixes) and timestamp
8-
ls -lh
9-
10-
# Display files, sorted by size
11-
ls -S
12-
13-
# Display directories only
14-
ls -d */
15-
16-
# Display directories only, include hidden
17-
ls -d .*/ */
1+
#
2+
# ls
3+
#
4+
# List directory contents.
5+
#
6+
# List files one per line:
7+
ls -1
8+
#
9+
# List all files, including hidden files:
10+
ls -a
11+
#
12+
# Long format list (permissions, ownership, size and modification date) of all files:
13+
ls -la
14+
#
15+
# Long format list with size displayed using human readable units (KB, MB, GB):
16+
ls -lh
17+
#
18+
# Long format list sorted by size (descending):
19+
ls -lS
20+
#
21+
# Long format list of all files, sorted by modification date (oldest first):
22+
ls -ltr
23+
#
24+
#

0 commit comments

Comments
 (0)