From fe7513640474221375d970ccd59d754f409cac56 Mon Sep 17 00:00:00 2001 From: X3ro Date: Thu, 10 May 2018 11:32:08 +0200 Subject: [PATCH] Update bash.md Add both stdout and stderr to null --- bash.md | 1 + 1 file changed, 1 insertion(+) diff --git a/bash.md b/bash.md index 62568dfe3..122bcb7cf 100644 --- a/bash.md +++ b/bash.md @@ -525,6 +525,7 @@ python hello.py >> output.txt # stdout to (file), append python hello.py 2> error.log # stderr to (file) python hello.py 2>&1 # stderr to stdout python hello.py 2>/dev/null # stderr to (null) +python hello.py &>/dev/null # stdout and stderr to (null) ``` ```bash