Skip to content

Commit fcf0d7c

Browse files
authored
Friendlier command reference (#818)
1 parent ad7262b commit fcf0d7c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

book/quick_tour.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ The first thing you'll notice when you run a command like [`ls`](/commands/docs/
66

77
@[code](@snippets/introduction/ls_example.sh)
88

9-
The table is more than just showing the directory in a different way. Just like tables in a spreadsheet, this table allows us to work with the data more interactively.
9+
The table does more than show the directory in a different way. Just like tables in a spreadsheet, this table allows us to work with the data more interactively.
1010

1111
The first thing we'll do is to sort our table by size. To do this, we'll take the output from [`ls`](/commands/docs/ls.md) and feed it into a command that can sort tables based on the contents of a column.
1212

1313
@[code](@snippets/introduction/ls_sort_by_reverse_example.sh)
1414

1515
You can see that to make this work we didn't pass commandline arguments to [`ls`](/commands/docs/ls.md). Instead, we used the [`sort-by`](/commands/docs/sort-by.md) command that Nu provides to do the sorting of the output of the [`ls`](/commands/docs/ls.md) command. To see the biggest files on top, we also used [`reverse`](/commands/docs/reverse.md).
1616

17-
Nu provides many commands that can work on tables. For example, we could filter the contents of the [`ls`](/commands/docs/ls.md) table so that it only shows files over 1 kilobyte:
17+
Nu provides many commands that can work on tables. For example, we could use [`where`](/commands/docs/where.md) to filter the contents of the [`ls`](/commands/docs/ls.md) table so that it only shows files over 1 kilobyte:
1818

1919
@[code](@snippets/introduction/ls_where_example.sh)
2020

commands/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# Command Reference
22

3-
Nushell provides commands for a variety of use cases.
4-
You can find the included categories in the sidebar.
3+
If you're new to Nushell, [the quick tour](/book/quick_tour.md) can show you the most important commands. You don't need to know them all!
54

6-
To see all commands in Nushell, run [`help commands`](/commands/docs/help.md).
5+
To see all commands from inside Nushell, run [`help commands`](/commands/docs/help.md).
76

87
<script>
98
import pages from '@temp/pages'

0 commit comments

Comments
 (0)