问题
I was looking for a solution about a silent kill command and I successfully found the solution here , in the forum , by the command:
kill -9 "process_name" &> /dev/null
but , my question is:
What does " &> /dev/null " mean?
Any tips and advice will be appreciated!
Thank you
回答1:
&>/dev/null
redirects all of the output from STDOUT and STDERR to the bitbucket /dev/null. Any output can be redirected to /dev/null and it is silently discarded.
来源:https://stackoverflow.com/questions/16148755/bash-explain-about-kill-command