摘要: 参考:http://www.linuxeden.com/html/softuse/20131018/144699.html无论你使用哪种操作系统,你一定会遇到某个行为失常的应用,它把自己锁死并拒绝关闭。在Linux(还有Mac),你可以用一个"kill"命令强制终结它。在这个教程中,我们将展示给你多种方式使用"kill"命令终结应用。Kill命令和信号当你执行一个"kill"命令,你实际上发送了一个信号给系统,让它去终结不正常的应用。总共有60个你可以使用的信号,但是基本上你只需要知道SIGTERM(15)和SIGKILL(9)。你可 阅读全文
posted @ 2013-10-26 15:28 摩斯电码 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.chinaunix.net/uid-26642180-id-3962245.html# User privilege specificationroot ALL=(ALL) ALL# Allow members of group sudo to execute any command after they have# provided their password# (Note that later entries override this, so you might need to move# it further down)%sudo ALL=(ALL) A 阅读全文
posted @ 2013-10-26 11:07 摩斯电码 阅读(741) 评论(0) 推荐(0) 编辑