{"id":13482,"date":"2020-05-18T07:05:15","date_gmt":"2020-05-18T07:05:15","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=13482"},"modified":"2020-05-18T07:05:17","modified_gmt":"2020-05-18T07:05:17","slug":"linux-command-error-nohupignoring-input-and-appending-output-to-nohup-out","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/linux-command-error-nohupignoring-input-and-appending-output-to-nohup-out\/","title":{"rendered":"Linux command Error- nohup:ignoring input and appending output to &#8216;nohup.out&#8217;"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Error : <\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"185\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/05\/nohup-command-error-in-putty.jpg\" alt=\"\" class=\"wp-image-13483\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/05\/nohup-command-error-in-putty.jpg 708w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2020\/05\/nohup-command-error-in-putty-300x78.jpg 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<p>When i am running below command to run <strong><em>start-seodaily-queue.sh<\/em><\/strong> file in background showing above error so let&#8217;s see how we can solve this error very easily.<\/p>\n\n\n\n<p><strong>Command<\/strong> : <em>nohup <strong>start-seodaily-queue.sh<\/strong> \/dev\/null &amp;<\/em><\/p>\n\n\n\n<p>To avoid the above message you need to start it like : <br><em>nohup <strong>start-seodaily-queue.sh<\/strong> &lt;\/dev\/null &amp;>\/dev\/null &amp;<\/em> <\/p>\n\n\n\n<p><strong>Note<\/strong> : Replace  <strong>start-seodaily-queue.sh<\/strong> = Your-file-name.sh<\/p>\n\n\n\n<p>For more understanding read below articles:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/hexadix.com\/use-nohup-execute-commands-background-keep-running-exit-shell-promt\/\" target=\"_blank\">Reference 1<\/a><\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.cyberciti.biz\/tips\/nohup-execute-commands-after-you-exit-from-a-shell-prompt.html\" target=\"_blank\">Reference 2<\/a><\/li><li><a href=\"https:\/\/linuxize.com\/post\/linux-nohup-command\/\" target=\"_blank\" rel=\"noreferrer noopener\">Reference 3<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Error : When i am running below command to run start-seodaily-queue.sh file in background showing above error so let&#8217;s see how we can solve this error very easily. Command : nohup start-seodaily-queue.sh \/dev\/null &amp; To avoid the above message you need to start it like : nohup start-seodaily-queue.sh &lt;\/dev\/null &amp;>\/dev\/null &amp; Note : Replace start-seodaily-queue.sh&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[4957],"tags":[1196,460,1994,6094,4819],"class_list":["post-13482","post","type-post","status-publish","format-standard","hentry","category-linux","tag-background","tag-linux","tag-linux-commands","tag-nohup","tag-putty"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/13482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=13482"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/13482\/revisions"}],"predecessor-version":[{"id":13484,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/13482\/revisions\/13484"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=13482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=13482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=13482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}