Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pages/common/echo.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@
- Print the exit status of the last executed command (Note: In Windows Command Prompt and PowerShell the equivalent commands are `echo %errorlevel%` and `$lastexitcode` respectively):

`echo $?`

- Pass text to another program through `stdin`:

`echo "{{Hello World}}" | {{program}}`
4 changes: 4 additions & 0 deletions pages/linux/cat.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@
- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII):

`cat {{[-vte|--show-nonprinting -t -e]}} {{path/to/file}}`

- Pass file contents to another program through `stdin`:

`cat {{path/to/file}} | {{program}}`