Answers for "hide output shell"

5

bash hide command output

mycommand &>/dev/null
Posted by: Guest on April-19-2021
0

linux hide command output

command > /dev/null 2>&1

Explanation:
	1. command > /dev/null: redirects the output of command(stdout) to /dev/null
	2. 2>&1: redirects stderr to stdout, so errors (if any) also goes to /dev/null
Posted by: Guest on November-17-2021

Code answers related to "hide output shell"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language