{"id":978,"date":"2014-03-11T17:53:54","date_gmt":"2014-03-11T17:53:54","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=978"},"modified":"2014-03-11T17:53:54","modified_gmt":"2014-03-11T17:53:54","slug":"stop-the-running-command-and-return-to-bash","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=978","title":{"rendered":"Stop the running command and return to bash"},"content":{"rendered":"<p>If you wish to terminate a command that is running in the terminal press CTRL + C<\/p>\n<p>In addition to what&#8217;s mentioned above, you can use smart job control features of your shell to make life eaiser for you. To do job control for bash, you can: use Ctrl-Z for stopping\/pausing the foreground process, type `bg&#8217; to run a stopped process (but run it in the background), or type `fg&#8217; to run a stopped process in the foreground. The command `jobs&#8217; will give you a list of jobs and their numbers. If you have many jobs, you can use the aforementioned numbers after `fg&#8217; and `bg&#8217; to indicate what job you are applying the command to.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you wish to terminate a command that is running in the terminal press CTRL + C In addition to what&#8217;s mentioned above, you can use smart job control features of your shell to make life eaiser for you. To do job control for bash, you can: use Ctrl-Z for stopping\/pausing the foreground process, type [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-978","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=978"}],"version-history":[{"count":1,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/978\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/978\/revisions\/979"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}