2019-10-02 11:33:28 +02:00
|
|
|
# reverse
|
|
|
|
|
2020-03-13 18:23:41 +01:00
|
|
|
This command reverses the order of the elements in a sorted table.
|
2019-10-02 11:33:28 +02:00
|
|
|
|
2020-03-13 18:23:41 +01:00
|
|
|
## Examples
|
2019-10-02 11:33:28 +02:00
|
|
|
|
|
|
|
```shell
|
|
|
|
> ls | sort-by name
|
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━
|
2020-03-13 18:23:41 +01:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified
|
2019-10-02 11:33:28 +02:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼────────────────┼────────────────
|
2020-03-13 18:23:41 +01:00
|
|
|
0 │ abaracadabra.txt │ File │ │ 401 B │ 23 minutes ago │ 16 minutes ago
|
|
|
|
1 │ coww.txt │ File │ │ 24 B │ 22 minutes ago │ 17 minutes ago
|
|
|
|
2 │ randomweirdstuff.txt │ File │ │ 197 B │ 21 minutes ago │ 18 minutes ago
|
|
|
|
3 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ 30 seconds ago │ now
|
|
|
|
4 │ zeusiscrazy.txt │ File │ │ 556 B │ 22 minutes ago │ 18 minutes ago
|
2019-10-02 11:33:28 +02:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━
|
2020-06-23 20:21:47 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2019-10-02 11:33:28 +02:00
|
|
|
> ls | sort-by name | reverse
|
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━
|
2020-03-13 18:23:41 +01:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified
|
2019-10-02 11:33:28 +02:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼────────────────┼────────────────
|
2020-03-13 18:23:41 +01:00
|
|
|
0 │ zeusiscrazy.txt │ File │ │ 556 B │ 22 minutes ago │ 19 minutes ago
|
|
|
|
1 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ 39 seconds ago │ 18 seconds ago
|
|
|
|
2 │ randomweirdstuff.txt │ File │ │ 197 B │ 21 minutes ago │ 18 minutes ago
|
|
|
|
3 │ coww.txt │ File │ │ 24 B │ 22 minutes ago │ 18 minutes ago
|
|
|
|
4 │ abaracadabra.txt │ File │ │ 401 B │ 23 minutes ago │ 16 minutes ago
|
2019-10-02 11:33:28 +02:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━
|
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
|
|
|
> ls | sort-by size
|
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━
|
2020-03-13 18:23:41 +01:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified
|
2019-10-02 11:33:28 +02:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼────────────────┼────────────────
|
2020-03-13 18:23:41 +01:00
|
|
|
0 │ coww.txt │ File │ │ 24 B │ 22 minutes ago │ 18 minutes ago
|
|
|
|
1 │ randomweirdstuff.txt │ File │ │ 197 B │ 21 minutes ago │ 18 minutes ago
|
|
|
|
2 │ abaracadabra.txt │ File │ │ 401 B │ 23 minutes ago │ 16 minutes ago
|
|
|
|
3 │ zeusiscrazy.txt │ File │ │ 556 B │ 22 minutes ago │ 19 minutes ago
|
|
|
|
4 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ a minute ago │ 26 seconds ago
|
2019-10-02 11:33:28 +02:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━
|
2020-06-23 20:21:47 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2019-10-02 11:33:28 +02:00
|
|
|
> ls | sort-by size | reverse
|
|
|
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━
|
2020-03-13 18:23:41 +01:00
|
|
|
# │ name │ type │ readonly │ size │ accessed │ modified
|
2019-10-02 11:33:28 +02:00
|
|
|
───┼────────────────────────────┼──────┼──────────┼────────┼────────────────┼────────────────
|
2020-03-13 18:23:41 +01:00
|
|
|
0 │ youshouldeatmorecereal.txt │ File │ │ 768 B │ a minute ago │ 32 seconds ago
|
|
|
|
1 │ zeusiscrazy.txt │ File │ │ 556 B │ 22 minutes ago │ 19 minutes ago
|
|
|
|
2 │ abaracadabra.txt │ File │ │ 401 B │ 23 minutes ago │ 16 minutes ago
|
|
|
|
3 │ randomweirdstuff.txt │ File │ │ 197 B │ 21 minutes ago │ 18 minutes ago
|
|
|
|
4 │ coww.txt │ File │ │ 24 B │ 22 minutes ago │ 18 minutes ago
|
2019-10-02 11:33:28 +02:00
|
|
|
━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━
|
|
|
|
```
|