Skip to content

Commit 5048dd2

Browse files
committed
Restore old examples
1 parent 4c23c37 commit 5048dd2

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
> sys host | get sessions
2-
╭───┬──────────┬────────────────╮
3-
# │ name │ groups |
4-
├───┼──────────┼────────────────┤
5-
│ 0 │ sophiajt │ [list 3 items] │
6-
╰───┴──────────┴────────────────╯
1+
> sys | get host
2+
╭────────────────┬────────────────────────╮
3+
│ name │ Debian GNU/Linux │
4+
│ os version │ 11 │
5+
│ kernel version │ 5.10.92-v8+ │
6+
│ hostname │ lifeless │
7+
│ uptime │ 19day 21hr 34min 45sec │
8+
│ sessions │ [table 1 row] │
9+
╰────────────────┴────────────────────────╯
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
> sys host | get sessions.name | each { |it| ^echo $it; null }
1+
> sys | get host.sessions.name | each { |it| ^echo $it }
22
sophiajt
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
> sys host | get sessions.name
1+
> sys | get host.sessions.name
22
╭───┬──────────╮
33
│ 0 │ sophiajt │
44
╰───┴──────────╯

snippets/introduction/sys_host_example.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)