BASH: Explain about kill command [closed]

☆樱花仙子☆ 提交于 2019-12-08 12:00:40

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!