{"id":3359,"date":"2014-04-26T12:15:40","date_gmt":"2014-04-26T03:15:40","guid":{"rendered":"https:\/\/www.pistolfly.com\/weblog\/?p=3359"},"modified":"2017-07-31T12:08:28","modified_gmt":"2017-07-31T03:08:28","slug":"if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal","status":"publish","type":"post","link":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html","title":{"rendered":"If the return value of a command is greater than 128, it means that the command is terminated by signal"},"content":{"rendered":"<p>If the return value of a command is greater than 128, it means that the command is terminated by signal.<\/p>\n<pre class=\"command-line\">$ man bash<\/pre>\n<pre>The return value of a simple command is its exit status, or 128+n if the command is terminated by signal n.\r\n<\/pre>\n<p>Example:<\/p>\n<pre class=\"command-line\">$ some_command\r\n$ echo $?\r\n139\r\n<\/pre>\n<p>In the above example, the return value is 139. Because 139=128+11 it means that the command was terminated by signal 11.<br \/>\nSee `man signal` and you will find that signal 11 is SIGSEGV and it means segmentation violation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If the return value of a command is greater than 128, it means that the command is terminated by signal. $ man &hellip; <a href=\"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">If the return value of a command is greater than 128, it means that the command is terminated by signal<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"2599","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[53,6],"tags":[],"class_list":["post-3359","post","type-post","status-publish","format-standard","hentry","category-c","category-linux","en-US"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>If the return value of a command is greater than 128, it means that the command is terminated by signal - Pistolfly<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"If the return value of a command is greater than 128, it means that the command is terminated by signal - Pistolfly\" \/>\n<meta property=\"og:description\" content=\"If the return value of a command is greater than 128, it means that the command is terminated by signal. $ man &hellip; Continue reading If the return value of a command is greater than 128, it means that the command is terminated by signal &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\" \/>\n<meta property=\"og:site_name\" content=\"Pistolfly\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-26T03:15:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-07-31T03:08:28+00:00\" \/>\n<meta name=\"author\" content=\"Pistolfly\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pistolfly\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\"},\"author\":{\"name\":\"Pistolfly\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"headline\":\"If the return value of a command is greater than 128, it means that the command is terminated by signal\",\"datePublished\":\"2014-04-26T03:15:40+00:00\",\"dateModified\":\"2017-07-31T03:08:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\"},\"wordCount\":73,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"articleSection\":[\"C\",\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\",\"name\":\"If the return value of a command is greater than 128, it means that the command is terminated by signal - Pistolfly\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#website\"},\"datePublished\":\"2014-04-26T03:15:40+00:00\",\"dateModified\":\"2017-07-31T03:08:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/en\\\/2014\\\/04\\\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"If the return value of a command is greater than 128, it means that the command is terminated by signal\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#website\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/\",\"name\":\"Pistolfly\",\"description\":\"Developer Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\",\"name\":\"Pistolfly\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"caption\":\"Pistolfly\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\"},\"description\":\"Software Engineer in Tokyo, Japan\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/author\\\/pistolfly\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"If the return value of a command is greater than 128, it means that the command is terminated by signal - Pistolfly","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html","og_locale":"en_US","og_type":"article","og_title":"If the return value of a command is greater than 128, it means that the command is terminated by signal - Pistolfly","og_description":"If the return value of a command is greater than 128, it means that the command is terminated by signal. $ man &hellip; Continue reading If the return value of a command is greater than 128, it means that the command is terminated by signal &rarr;","og_url":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html","og_site_name":"Pistolfly","article_published_time":"2014-04-26T03:15:40+00:00","article_modified_time":"2017-07-31T03:08:28+00:00","author":"Pistolfly","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pistolfly"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#article","isPartOf":{"@id":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html"},"author":{"name":"Pistolfly","@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"headline":"If the return value of a command is greater than 128, it means that the command is terminated by signal","datePublished":"2014-04-26T03:15:40+00:00","dateModified":"2017-07-31T03:08:28+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html"},"wordCount":73,"commentCount":0,"publisher":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"articleSection":["C","Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html","url":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html","name":"If the return value of a command is greater than 128, it means that the command is terminated by signal - Pistolfly","isPartOf":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#website"},"datePublished":"2014-04-26T03:15:40+00:00","dateModified":"2017-07-31T03:08:28+00:00","breadcrumb":{"@id":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pistolfly.com\/weblog\/en\/2014\/04\/if-the-return-value-of-a-command-is-greater-than-128-it-means-that-the-command-is-terminated-by-signal.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.pistolfly.com\/weblog"},{"@type":"ListItem","position":2,"name":"If the return value of a command is greater than 128, it means that the command is terminated by signal"}]},{"@type":"WebSite","@id":"https:\/\/www.pistolfly.com\/weblog\/#website","url":"https:\/\/www.pistolfly.com\/weblog\/","name":"Pistolfly","description":"Developer Blog","publisher":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pistolfly.com\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab","name":"Pistolfly","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","caption":"Pistolfly"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g"},"description":"Software Engineer in Tokyo, Japan","url":"https:\/\/www.pistolfly.com\/weblog\/author\/pistolfly"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paorzz-Sb","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/3359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/comments?post=3359"}],"version-history":[{"count":4,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/3359\/revisions"}],"predecessor-version":[{"id":3796,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/3359\/revisions\/3796"}],"wp:attachment":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/media?parent=3359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/categories?post=3359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/tags?post=3359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}