diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/cheatsheets/bash.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/content/cheatsheets/bash.md b/content/cheatsheets/bash.md index a00ebb9..4231e20 100644 --- a/content/cheatsheets/bash.md +++ b/content/cheatsheets/bash.md @@ -3,6 +3,14 @@ title = "bash" disable_share = true +++ +# Redirection + +## `stderr` and `stdout` to a file + +```bash +$ command > file 2>&1 +``` + # Test operators ## String |
