{"id":43,"date":"2007-08-20T16:37:16","date_gmt":"2007-08-20T03:37:16","guid":{"rendered":"http:\/\/www.meta.net.nz\/~daniel\/blog\/2007\/08\/20\/useful-command-line-tools\/"},"modified":"2007-08-20T16:37:16","modified_gmt":"2007-08-20T03:37:16","slug":"useful-command-line-tools","status":"publish","type":"post","link":"https:\/\/www.meta.net.nz\/~daniel\/blog\/2007\/08\/20\/useful-command-line-tools\/","title":{"rendered":"&#8220;Useful&#8221; command line tools"},"content":{"rendered":"<p>A coworker was doing some work on a server we&#8217;re building up, and wanted to kill a bunch of processes. The <em>killall<\/em> binary wasn&#8217;t installed for some reason (default etch install, probably just missing the package), but he found a <em>killall5<\/em> binary instead.<\/p>\n<p>For those of you who don&#8217;t know, <em>killall5<\/em> is the SysV version of <em>killall<\/em>. It&#8217;s quite a bit more literal about it&#8217;s functionality than the <em>killall<\/em> most of us are used to &#8211; it will, without taking any command line arguments, prompting if you are sure, or any indication of what is about to happen, send a kill signal to all processes.<\/p>\n<p>I was in the middle of saying &#8220;Don&#8217;t run that&#8221; when my coworker did. Oops. Good thing we were still building the server and it was on the build desk next to him.<\/p>\n<p>This got me thinking though. Are there any other command line tools that are similarly dangerous as <em>killall5<\/em>? That is, they will do something terminal to your system, without prompting for help or confirmation?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A coworker was doing some work on a server we&#8217;re building up, and wanted to kill a bunch of processes. The killall binary wasn&#8217;t installed for some reason (default etch install, probably just missing the package), but he found a killall5 binary instead. For those of you who don&#8217;t know, killall5 is the SysV version [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts\/43"}],"collection":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.meta.net.nz\/~daniel\/blog\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}