重击:解释一下kill命令 [英] BASH: Explain about kill command
本文介绍了重击:解释一下kill命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在寻找有关无提示kill命令的解决方案,并且通过以下命令在论坛中的此处成功找到了解决方案:
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
但是,我的问题是:
&>/dev/null"是什么意思?
What does " &> /dev/null " mean?
任何提示和建议将不胜感激!
Any tips and advice will be appreciated!
谢谢
推荐答案
&>/dev/null
将所有输出从STDOUT 和 STDERR重定向到bitbucket/dev/null.任何输出都可以重定向到/dev/null,并且会被静默丢弃.
&>/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.
这篇关于重击:解释一下kill命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文