diff --git a/book/coming_from_bash.md b/book/coming_from_bash.md index 6b61f5f6fb1..79e448517a0 100644 --- a/book/coming_from_bash.md +++ b/book/coming_from_bash.md @@ -32,8 +32,9 @@ $env.Path = ($env.Path | prepend 'C:\Program Files\Git\usr\bin') | | `\| save --append ` | Append command output to a file as structured data | | `> /dev/null` | `\| ignore` | Discard command output | | `> /dev/null 2>&1` | `out+err>\| ignore` or `o+e>\| ignore` | Discard command output, including stderr | -| `command 2>&1 \| less` | `command out+err>\| less` or `command o+e>\| less` | Pipe stdout and stderr of a command into less | +| `command 2>&1 \| less` | `command out+err>\| less` or `command o+e>\| less` | Pipe stdout and stderr of an external command into less (NOTE: use [explore](explore.html) for paging output of internal commands) | | `cmd1 \| tee log.txt \| cmd2` | `cmd1 \| tee { save log.txt } \| cmd2` | Tee command output to a log file | +| `command \| head -5` | `command \| first 5` | Limit the output to the first 5 rows of an internal command (see also `last` and `skip`) | | `cat ` | `open --raw ` | Display the contents of the given file | | | `open ` | Read a file as structured data | | `mv ` | `mv ` | Move file to new location |