BASH: Explain about kill command [closed]

2019-06-14 02:18发布

问题:

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.



标签: bash kill