Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 all characters, including tabs, line endings, and non-printing characters:

`cat {{[-A|--show-all]}} {{path/to/file}}`

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

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