{"id":63969,"date":"2025-04-29T17:22:41","date_gmt":"2025-04-29T09:22:41","guid":{"rendered":"https:\/\/fwq.ai\/blog\/63969\/"},"modified":"2025-04-29T17:22:41","modified_gmt":"2025-04-29T09:22:41","slug":"linux%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4ctrl-z%e6%98%af%e4%bb%80%e4%b9%88%e5%91%bd%e4%bb%a4-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/63969\/","title":{"rendered":"linux\u5e38\u7528\u547d\u4ee4ctrl z\u662f\u4ec0\u4e48\u547d\u4ee4"},"content":{"rendered":"<blockquote><p>\n  ctrl+z \u5728 linux \u4e2d\u7684\u529f\u80fd\uff1a\u6682\u505c\u5f53\u524d\u8fdb\u7a0b\u3002\u5177\u4f53\u64cd\u4f5c\u4e3a\uff1a1. \u5c06\u8fdb\u7a0b\u53d1\u9001\u5230\u540e\u53f0\uff1b2. \u66f4\u6539\u8fdb\u7a0b\u72b6\u6001\u4e3a\u5df2\u6682\u505c\uff1b3. \u505c\u6b62\u8fdb\u7a0b\u6267\u884c\uff1b4. \u4e2d\u65ad\u8fdb\u7a0b\u8f93\u51fa\uff1b5. \u8fdb\u7a0b\u4fdd\u5b58\u5728\u5185\u5b58\u4e2d\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202409\/17\/2024091718181556080.jpg\" class=\"aligncenter\" title=\"linux\u5e38\u7528\u547d\u4ee4ctrl z\u662f\u4ec0\u4e48\u547d\u4ee4\u63d2\u56fe\" alt=\"linux\u5e38\u7528\u547d\u4ee4ctrl z\u662f\u4ec0\u4e48\u547d\u4ee4\u63d2\u56fe\" \/><\/p>\n<p><strong>Ctrl + Z \u5728 Linux \u4e2d\u7684\u4f5c\u7528<\/strong><\/p>\n<p>Ctrl + Z \u662f Linux \u7cfb\u7edf\u4e2d\u7684\u4e00\u4e2a\u5feb\u6377\u952e\uff0c\u5176\u4f5c\u7528\u662f<strong>\u6682\u505c\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b<\/strong>\u3002<\/p>\n<p>\u66f4\u8be6\u7ec6\u5730\u8bf4\uff0c\u6309\u4e0b Ctrl + Z \u4f1a\u5c06\u5f53\u524d\u8fdb\u7a0b\u53d1\u9001\u5230\u540e\u53f0\uff0c\u5e76\u5c06\u5176\u72b6\u6001\u66f4\u6539\u4e3a<strong>\u5df2\u6682\u505c (STOPPED)<\/strong>\u3002\u8fd9\u610f\u5473\u7740\uff1a<\/p>\n<ul>\n<li>\u8fdb\u7a0b\u4f1a\u505c\u6b62\u6267\u884c\u3002<\/li>\n<li>\u8fdb\u7a0b\u7684\u8f93\u51fa\u5c06\u88ab\u4e2d\u65ad\u3002<\/li>\n<li>\u8fdb\u7a0b\u4e0d\u4f1a\u9000\u51fa\uff0c\u800c\u662f\u4fdd\u6301\u5728\u5185\u5b58\u4e2d\u3002<\/li>\n<\/ul>\n<p><strong>\u5982\u4f55\u4f7f\u7528 Ctrl + Z<\/strong><\/p>\n<p>\u8981\u6682\u505c\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<ol>\n<li>\u786e\u4fdd\u8fdb\u7a0b\u6b63\u5728\u524d\u53f0\u8fd0\u884c\u3002<\/li>\n<li>\u6309\u4e0b Ctrl + Z\u3002<\/li>\n<li>\u8fdb\u7a0b\u5c06\u88ab\u6682\u505c\uff0c\u5e76\u663e\u793a\u4e00\u4e2a\u4f5c\u4e1a\u63a7\u5236\u901a\u77e5\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/li>\n<\/ol>\n<pre>[1]+  Stopped                  command<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u6062\u590d\u88ab\u6682\u505c\u7684\u8fdb\u7a0b<\/strong><\/p>\n<p>\u8981\u6062\u590d\u88ab\u6682\u505c\u7684\u8fdb\u7a0b\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a<\/p>\n<ul>\n<li> <strong>fg<\/strong> \u547d\u4ee4\uff1a\u5c06\u8fdb\u7a0b\u6062\u590d\u5230\u524d\u53f0\u3002<\/li>\n<li> <strong>bg<\/strong> \u547d\u4ee4\uff1a\u5c06\u8fdb\u7a0b\u6062\u590d\u5230\u540e\u53f0\u7ee7\u7eed\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<p><strong>\u793a\u4f8b<\/strong><\/p>\n<p>\u5047\u8bbe\u6709\u4e00\u4e2a\u540d\u4e3a myprocess \u7684\u8fdb\u7a0b\u6b63\u5728\u8fd0\u884c\u3002\u8981\u6682\u505c\u5b83\uff0c\u53ef\u4ee5\u6309\u4e0b Ctrl + Z\u3002\u8981\u6062\u590d\u5b83\u5230\u524d\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<pre>fg myprocess<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8981\u6062\u590d\u5b83\u5230\u540e\u53f0\uff0c\u53ef\u4ee5\u4f7f\u7528\uff1a<\/p>\n<pre>bg myprocess<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5e38\u7528\u547d\u4ee4ctrl z\u662f\u4ec0\u4e48\u547d\u4ee4\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8FDCServers\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ctrl+z \u5728 linux \u4e2d\u7684\u529f\u80fd\uff1a\u6682\u505c\u5f53\u524d\u8fdb\u7a0b\u3002\u5177\u4f53\u64cd\u4f5c\u4e3a\uff1a1. \u5c06\u8fdb\u7a0b\u53d1\u9001\u5230\u540e\u53f0\uff1b2. \u66f4\u6539\u8fdb\u7a0b\u72b6\u6001\u4e3a\u5df2\u6682\u505c\uff1b3. \u505c\u6b62\u8fdb\u7a0b\u6267\u884c\uff1b4. \u4e2d\u65ad\u8fdb\u7a0b\u8f93\u51fa\uff1b5. \u8fdb\u7a0b\u4fdd\u5b58\u5728\u5185\u5b58\u4e2d\u3002 Ctrl + Z \u5728 Linux \u4e2d\u7684\u4f5c\u7528 Ctrl + Z \u662f Linux \u7cfb\u7edf\u4e2d\u7684\u4e00\u4e2a\u5feb\u6377\u952e\uff0c\u5176\u4f5c\u7528\u662f\u6682\u505c\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u3002 \u66f4\u8be6\u7ec6\u5730\u8bf4\uff0c\u6309\u4e0b Ctrl + Z \u4f1a\u5c06\u5f53\u524d\u8fdb\u7a0b\u53d1\u9001\u5230\u540e\u53f0\uff0c\u5e76\u5c06\u5176\u72b6\u6001\u66f4\u6539\u4e3a\u5df2\u6682\u505c (STOPPED)\u3002\u8fd9\u610f\u5473\u7740\uff1a \u8fdb\u7a0b\u4f1a\u505c\u6b62\u6267\u884c\u3002 \u8fdb\u7a0b\u7684\u8f93\u51fa\u5c06\u88ab\u4e2d\u65ad\u3002 \u8fdb\u7a0b\u4e0d\u4f1a\u9000\u51fa\uff0c\u800c\u662f\u4fdd\u6301\u5728\u5185\u5b58\u4e2d\u3002 \u5982\u4f55\u4f7f\u7528 Ctrl + Z \u8981\u6682\u505c\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a \u786e\u4fdd\u8fdb\u7a0b\u6b63\u5728\u524d\u53f0\u8fd0\u884c\u3002 \u6309\u4e0b Ctrl + Z\u3002 \u8fdb\u7a0b\u5c06\u88ab\u6682\u505c\uff0c\u5e76\u663e\u793a\u4e00\u4e2a\u4f5c\u4e1a\u63a7\u5236\u901a\u77e5\uff0c\u5982\u4e0b\u6240\u793a\uff1a [1]+ Stopped command \u767b\u5f55\u540e\u590d\u5236 \u6062\u590d\u88ab\u6682\u505c\u7684\u8fdb\u7a0b \u8981\u6062\u590d\u88ab\u6682\u505c\u7684\u8fdb\u7a0b\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u6cd5\uff1a fg \u547d\u4ee4\uff1a\u5c06\u8fdb\u7a0b\u6062\u590d\u5230\u524d\u53f0\u3002 bg \u547d\u4ee4\uff1a\u5c06\u8fdb\u7a0b\u6062\u590d\u5230\u540e\u53f0\u7ee7\u7eed\u8fd0\u884c\u3002 \u793a\u4f8b \u5047\u8bbe\u6709\u4e00\u4e2a\u540d\u4e3a myprocess \u7684\u8fdb\u7a0b\u6b63\u5728\u8fd0\u884c\u3002\u8981\u6682\u505c\u5b83\uff0c\u53ef\u4ee5\u6309\u4e0b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-63969","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/63969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=63969"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/63969\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=63969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=63969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=63969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}