id: d84779fddee14f10b603cfc4db2dd607
parent_id: 
item_type: 1
item_id: 6b96c334c976416fb4f729548b06c2b7
item_updated_time: 1764345601229
title_diff: "[{\"diffs\":[[1,\"Linux的常用命令就是记不住，怎么办？于是推出了这套教程\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":29}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Linux的常用命令就是记不住，怎么办？于是推出了这套教程</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"25176\\\"></a>\\\r\\\n<h1>Linux的常用命令就是记不住，怎么办？于是推出了这套教程</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:fullPage; --en-clipped-source-url:https://www.toutiao.com/i6947662843621802528/; --en-clipped-source-title:Linux的常用命令就是记不住，怎么办？于是推出了这套教程;\\\">\\\n<div><br/></div><div style=\\\"min-height: 31878px; font-size: 16px; display:block; min-width: 100%; position: relative;\\\"> <div style=\\\"line-height:1.15;text-size-adjust:100%;box-sizing:border-box;\\\"><div style=\\\"font:12px / 1.14 &quot;SF Pro Display&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, &quot;Helvetica Neue&quot;, Arial, sans-serif;-webkit-font-smoothing:antialiased;color:rgb(51, 51, 51);outline:0px;background:rgb(255, 255, 255);box-sizing:border-box;min-width:1220px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;width:100%;background:rgb(255, 255, 255);margin-bottom:16px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;height:34px;line-height:34px;background:rgb(34, 34, 34);font-size:14px;color:rgb(255, 255, 255);display:flex;justify-content:space-between;flex-wrap:wrap-reverse;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;position:relative;height:34px;line-height:34px;background:none;color:rgb(255, 255, 255);\\\"><ul style=\\\"margin:0px;box-sizing:border-box;padding:0px 20px;\\\"><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">推荐</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_hot/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">热点</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.ixigua.com/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_blank\\\">视频</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_image/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">图片</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_entertainment/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">娱乐</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_tech/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">科技</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.dcdapp.com/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_blank\\\">汽车</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_sports/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">体育</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_finance/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">财经</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_military/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">军事</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_world/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">国际</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_fashion/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">时尚</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;margin-right:20px;width:26px;white-space:nowrap;float:left;\\\"><a href=\\\"https://www.toutiao.com/ch/news_travel/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\" target=\\\"_self\\\">旅游</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;font-size:13px;font-weight:500;width:26px;white-space:nowrap;float:left;position:relative;margin-right:0px;\\\"><a href=\\\"https://www.toutiao.com/i6947662843621802528/#\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;font-weight:500;color:rgb(255, 255, 255);\\\">更多<i style=\\\"box-sizing:border-box;font-size:12px;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:12px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i></a></li></ul></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><ul style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><li style=\\\"margin:0px;list-style:none;box-sizing:border-box;position:relative;float:left;border-left:1px solid rgb(58, 58, 58);border:none;background-color:rgb(58, 58, 58);padding:0px 6px;\\\"><a href=\\\"https://mp.toutiao.com/profile_v4/graphic/publish?from=toutiao_pc\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;padding:0px 10px;cursor:pointer;color:rgb(255, 255, 255);\\\" target=\\\"_blank\\\">发文</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;float:left;border-left:1px solid rgb(58, 58, 58);\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;position:relative;text-align:center;font-size:14px;color:rgb(255, 255, 255);height:34px;\\\"><a href=\\\"https://www.toutiao.com/c/user/token/MS4wLjABAAAAoQBsUSqDvSerh17fnWVic47JOyQ47sXPR6Z4Dq6YaeU/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;padding-left:20px;padding-right:14px;color:rgb(255, 255, 255);\\\" target=\\\"_blank\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;display:inline-block;width:24px;height:24px;border-radius:50%;vertical-align:middle;margin-right:11px;margin-top:-2px;background-color:rgb(239, 239, 239);\\\"><img src=\\\":/57fc6068a4b44f129a2dd3aa3d09729c\\\" type=\\\"image/jpeg\\\" data-filename=\\\"76996684592dbc151ee0a53b7a6735a4~c5_300x300.image\\\" height=\\\"24\\\" style=\\\"border:0px;box-sizing:border-box;display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;\\\" width=\\\"24\\\"/></div><span style=\\\"box-sizing:border-box;color:rgb(255, 255, 255);\\\" title=\\\"huang5307\\\">huang5307</span></a></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;float:left;border-left:1px solid rgb(58, 58, 58);\\\"><a style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;padding:0px 10px;cursor:pointer;color:rgb(255, 255, 255);\\\">反馈</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;float:left;border-left:1px solid rgb(58, 58, 58);\\\"><a href=\\\"https://mp.toutiao.com/profile_v3_public/public/complains\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;padding:0px 10px;cursor:pointer;color:rgb(255, 255, 255);\\\" target=\\\"_blank\\\">侵权投诉</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;float:left;border-left:1px solid rgb(58, 58, 58);\\\"><a href=\\\"https://www.toutiao.com/about/\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;padding:0px 10px;cursor:pointer;color:rgb(255, 255, 255);\\\">头条产品</a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;visibility:hidden;position:absolute;border:1px solid rgb(217, 217, 217);background:rgb(255, 255, 255);z-index:20;font-size:14px;right:0px;width:116px;\\\"><ul style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://www.wukong.com/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">问答</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://www.baike.com/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">头条百科</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://mp.toutiao.com/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">头条号</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://tuchong.com/?utm_source=toutiao&amp;utm_medium=pc_header\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">图虫</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://stock.tuchong.com/?source=ttweb\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">正版图库</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://ad.toutiao.com/promotion/?source2=pchometop\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">广告投放</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><a href=\\\"https://www.dcdapp.com/?zt=tt_pc_home_top_bar\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;text-decoration:none;box-sizing:border-box;display:block;width:auto;height:42px;line-height:42px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;cursor:pointer;color:rgb(153, 153, 153);\\\" target=\\\"_blank\\\">懂车帝</a></li></ul></div></li></ul></div></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;width:100%;height:58px;background:rgb(255, 255, 255);box-shadow:rgba(0, 0, 0, 0.12) 0px 1px 4px 0px;\\\"><div style=\\\"padding:0px;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;margin:0px auto;width:1200px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;line-height:58px;\\\"><a href=\\\"https://www.toutiao.com/\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;float:left;\\\"><img src=\\\":/bbd2c2c49b494f83808fa9995b619590\\\" type=\\\"image/png\\\" data-filename=\\\"Image.png\\\" height=\\\"27\\\" style=\\\"border:0px;box-sizing:border-box;width:108px;height:27px;vertical-align:middle;\\\" width=\\\"108\\\"/></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:16px;margin-left:20px;float:left;\\\"><a href=\\\"https://www.toutiao.com/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;color:rgb(68, 68, 68);\\\" target=\\\"_blank\\\">首页</a> / <span style=\\\"box-sizing:border-box;color:rgb(153, 153, 153);\\\">正文</span></div></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;width:340px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;display:flex;\\\"><div style=\\\"margin:0px;box-sizing:content-box;color:rgb(255, 255, 255);background-color:rgb(32, 142, 218);border:1px solid rgb(32, 142, 218);border-radius:0px 4px 4px 0px;position:relative;left:-1px;cursor:pointer;padding:13px 24px;\\\"></div></div></div></div></div></div></div><div style=\\\"padding:0px;box-sizing:border-box;margin:0px auto;width:1200px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;float:left;margin-top:20px;margin-right:30px;width:110px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;top:20px;width:110px;margin-left:-135px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:14px;white-space:nowrap;cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;vertical-align:middle;color:rgb(248, 89, 89);font-size:30px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:30px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(248, 89, 89);\\\"></span></i><span style=\\\"box-sizing:border-box;padding-left:8px;font-size:20px;font-family:Georgia;font-weight:700;line-height:24px;color:rgb(248, 89, 89);\\\">1020</span></div><hr style=\\\"overflow:visible;margin:0px;padding:0px;box-sizing:border-box;border:none;background:rgb(232, 232, 232);height:1px;\\\"/><ul style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;margin-top:14px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:16px;color:rgb(101, 113, 128);cursor:pointer;\\\"><img src=\\\":/ddffe1341a5f45bca86eeec0aa9cee2c\\\" type=\\\"image/png\\\" data-filename=\\\"repost.021bf16.png\\\" height=\\\"34\\\" style=\\\"border:0px;box-sizing:border-box;float:left;width:34px;height:34px;\\\" width=\\\"34\\\"/><span style=\\\"box-sizing:border-box;line-height:34px;padding-left:12px;\\\">转发</span><span style=\\\"font-size:16px;color:rgb(101, 113, 128);cursor:pointer;display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;margin-top:14px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:16px;color:rgb(101, 113, 128);cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;float:left;color:rgb(255, 102, 49);font-size:34px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:34px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(255, 102, 49);\\\"></span></i><span style=\\\"box-sizing:border-box;line-height:34px;padding-left:12px;\\\">微博</span><span style=\\\"font-size:16px;color:rgb(101, 113, 128);cursor:pointer;display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;margin-top:14px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:16px;color:rgb(101, 113, 128);cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;float:left;color:rgb(255, 189, 29);font-size:34px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:34px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(255, 189, 29);\\\"></span></i><span style=\\\"box-sizing:border-box;line-height:34px;padding-left:12px;\\\">Qzone</span><span style=\\\"font-size:16px;color:rgb(101, 113, 128);cursor:pointer;display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;margin-top:14px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;position:relative;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:16px;color:rgb(101, 113, 128);cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;float:left;color:rgb(82, 205, 62);font-size:34px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:34px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(82, 205, 62);\\\"></span></i><span style=\\\"box-sizing:border-box;line-height:34px;padding-left:12px;\\\">微信</span><span style=\\\"font-size:16px;color:rgb(101, 113, 128);cursor:pointer;display:table;clear:both;\\\"></span></div></div></li></ul></div></div></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;float:left;width:660px;\\\"><h1 style=\\\"padding:0px;margin:0px;box-sizing:border-box;line-height:44px;color:rgb(34, 34, 34);font-size:34px;font-weight:700;\\\">Linux的常用命令就是记不住，怎么办？于是推出了这套教程</h1><div style=\\\"padding:0px;box-sizing:border-box;font-size:13px;margin:12px 0px 20px;\\\"><span style=\\\"box-sizing:border-box;margin-right:6px;color:rgb(119, 119, 119);display:inline-block;padding:2px;border:1px solid rgb(153, 153, 153);line-height:12px;\\\">原创</span><span style=\\\"box-sizing:border-box;margin-right:6px;color:rgb(119, 119, 119);\\\">雨滴测试</span><span style=\\\"box-sizing:border-box;margin-right:6px;color:rgb(119, 119, 119);\\\">2021-04-05 21:50:56</span></div><div style=\\\"display:block;box-sizing:border-box;text-align:justify;overflow-wrap:break-word;word-break:break-word;overflow:hidden;hyphens:auto;margin-bottom:24px;color:rgb(34, 34, 34);padding:0px;font-family:&quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, &quot;Helvetica Neue&quot;, Arial, sans-serif;line-height:1.75;font-size:16px;\\\"><div style=\\\"border:0px;box-sizing:border-box;padding:0px;margin:18px 0px;margin-top:0px;\\\"><img src=\\\"Linux的常用命令就是记不住，怎么办？于是推出了这套教程_files/4ddf58a99f604fe1a909c4c1627cc457\\\" type=\\\"image/png\\\" data-filename=\\\"4ddf58a99f604fe1a909c4c1627cc457\\\" height=\\\"2676\\\" style=\\\"padding:0px;box-sizing:border-box;border:0px;cursor:zoom-in;max-width:100%;display:block;margin:0px auto 8px;\\\" width=\\\"660\\\"/><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"></p></div><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>1.帮助命令</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">1.1 help命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： 命令 --help</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 查看某个命令的帮助信息</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># ls --help     查看ls命令的帮助信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># netstat --help    查看netstat命令的帮助信息</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">1.2 man命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： man 命令</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 查看某个命令的帮助手册</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># man ls        #查看ls命令的帮助手册</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># man netstat   #查看netstat命令的帮助手册</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>2.路径切换及查看</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">2.1 cd命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： cd 目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 切换到目录中</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cd /opt       切换到/opt目录下</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cd ~  切换到用户目录</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cd -  切换到上一次访问的目录</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cd .. 切换到上一次所在的目录</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">2.2 pwd命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： pwd</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 查看当前所在路径</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># pwd   查看当前路径，会将当前路径回显</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">2.3 ls命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： ls [-la] [文件/目录]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 查看当前路径下的文件和目录，若后带有文件或目录，则只查看当前文件或目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># ls   查看当前路径下所有的文件或目录</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># ls -l 查看当前路径下所有的文件或目录的详细信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># ls -a 查看当前路径下所有的文件或目录,将隐藏文件显示出来</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># ls -l a.log   查看当前路径下a.log下的详细信息</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">2.4 find命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\">#语法格式： <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> [路径] [参数] [匹配模式]\\\n#作用: 可以根据给定的路径和表达式查找的文件或目录\\\n# 示例: \\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> / -name <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">&quot;*.txt&quot;</span>    查询根目录下所有以.txt结尾的文件 。\\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> /test -perm  <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">644</span>   查询/test目录下权限为<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">644</span>的所有文件\\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> . -<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">type</span> f     查询当前目录下所有的文件\\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> . -<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">type</span> f -name <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">&quot;abc&quot;</span>    查询当前目录下所有文件中包含abc字符的文件\\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> . -<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">type</span> f | <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">sort</span>         查询当前目录下所有文件并排序\\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> . -<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">type</span> d                查询当前目录下所有目录\\\n    # <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">find</span> . -size <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">10</span>M</code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>3.文件|目录操作</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1 文件和目录的基本操作</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1.1 touch命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： touch 文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 创建一个文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># touch a.log     创建一个a.log文件。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1.2 ln命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： </span>\\\n    <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ln</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">源文件名 硬链接文件名</span>\\\n    <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ln</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">-s 源文件名 软连接文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 创建文件链接</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    # ln a.txt a.txt.link     为a.txt创建一个硬链接文件a.txt.link。</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    # ln -s a.txt a.txt.link  为a.txt创建一个软连接文件 。</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    \\\n# 备注：</span>\\\n    <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">软链接文件：就像Windows中快捷方式一样，只是源文件的一个指向，删除软连接文件，源文件任存在。</span>\\\n    <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">硬链接文件：比如当前目录下有2个文件，这2个文件除了名字不一样其他的一模一样，但是占用的实际磁盘空间还是只有1M，改变任何一个文件的内容另一个文件也会跟着改变；</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1.3 mkdir 命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： mkdir 目录名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 创建一个目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mkdir test     创建一个test的目录。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mkdir -p test  若存在test，则不创建；若不存在，则创建</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mkidr -p test/a/b  创建test目录，其下再创建a目录，a目录再创建b目录 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1.4 rm命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： rm [-rf] 文件|目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 删除文件或目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># rm a.txt     删除a.txt,删除前询问 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># rm -f a.txt  直接删除a.txt ,不在询问 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># rm -r test  删除test目录，删除前询问</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># rm -rf test  直接删除test目录，不在询问 。</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 备注：任何的删除操作都是危险的动作，慎用 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1.5 mv命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： mv 源文件|目录 目标文件|目标目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 有两层意思，分别为：</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">1</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">.</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">进行重命名文件或目录</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">2</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">.</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">进行移动文件或目录到目的目录</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mv a.txt b.txt    修改文件名a.txt为b.txt 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mv a.txt test/    移动a.txt 到test目录下</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mv abc bcd        重命名目录abc为bcd .</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># mv abc bcd/       移动abc目录到bcd下 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.1.6 cp命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： cp [-rf] 源文件|目录 目标文件|目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用: 拷贝文件或目录为另一个文件或目录 。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cp a.txt b.txt   拷贝a.txt为b.txt ,若b.txt以存在，则提示是否继续拷贝 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cp -f a.txt b.txt 拷贝a.txt为b.txt ,即使b.txt以前就存在，也是直接覆盖 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cp -r abc bcd 拷贝abc目录为bcd ,若abc存在，则提示是否继续拷贝 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># cp -rf abc bcd 拷贝abc目录为bcd ,即使abc存在，则也是直接覆盖 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2 文件压缩与解压缩</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2.1 zipinfo命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\">#语法格式： zipinfo <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">zip</span>文件\\\n#作用:  查看<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">zip</span>文件里的信息。\\\n    \\\n# 示例: \\\n    # zipinfo  abc.<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">zip</span>  查看abc.<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">zip</span>里的文件信息 。\\\n    # zipinfo -v abc.<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">zip</span> 显示abc.<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">zip</span>里的每个文件的信息 。</code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2.2 zip命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： zip 压缩文件 文件|目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  将目标文件或目录进行压缩。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># zip a.zip a.txt  将a.txt进行压缩形成a.zip 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># zip a.zip test/ 将test目录下的所有文件和目录压缩到a.zip 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2.3. gzip命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： gzip [-d] 文件|目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  压缩|解压缩文件或目录</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># gzip a.txt  将a.txt压缩为a.txt.gz ,注意压缩后源文件已不存在。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># gzip -d a.txt.gz 解压a.txt.gz文件</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2.4 unzip命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： unzip  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  解压缩文件</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># unzip  a.zip       解压文件</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># gzip -d a.txt.gz 解压a.txt.g3.2.5 gunzip命令</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2.5 gunzip命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\">#语法格式： <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">gunzip</span> 压缩文件\\\n#作用:  解压压缩文件\\\n    \\\n# 示例: \\\n    # <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">gunzip</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">a</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.txt</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.gz</span>  解压<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">a</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.txt</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.gz</span>\\\n    # <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">guzip</span>  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">test</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.tar</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.gz</span>  解压<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">test</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.tar</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.gz</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.2.6 tar命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： tar [-c|xzvf] 文件|压缩文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  进行归档并创建压缩文件 或 进行解压归档压缩文档  </span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># tar -cvzf a.tar  a.txt    # 将文件a.txt进行压缩并归档</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># tar -xvzf a.tar .     解压a.tar文件到当前目录 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.3 文件传输</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.3.1 tftp命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： tftp 远程主机</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  连接远程主机，上传或下载文件</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: (需连接到远程主机)</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># get a.txt        下载a.txt文件</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># put a.txt        上传a.txt到远程主机</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.3.2 curl命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： curl url</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  进行文件下载或者请求http协议数据</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># curl  http://www.baidu.com     #请求百度</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># curl -o baidu.html http://www.baidu.com    将请求到的数据保存到baidu.html中 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.3.3 scp命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： scp 远程主机账号@远程IP地址 本地目录</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  登录远程主机进行拷贝文件或目录</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># scp root@192.168.12.11:/soft/test.tar.gz /tools/    将远程主机目录下的/soft/test.tar.gz 拷贝到本地目录下的tools/下</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># scp root@192.168.12.11:/soft/ /tools/  将远程主机目录soft 拷贝到本地目录的tools/下 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.3.4 rcp命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： scp 主机1 主机2</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  远程主机间的文件或目录相互拷贝</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  rcp test 192.168.128.169:/test    拷贝当前目录下的test 到192.168.128.169的/test目录下</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  rcp root@192.168.128.169:./test  /test 复制远程目录到本地的/test下</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.4 文件属性查看</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.4.1 file命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： file 文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看文件的类型</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  file a.txt   #查看a.txt是什么类型 </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  file abc     #查看abc是什么类型 </span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.4.2 du命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： du 文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看文件的大小</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  du a.txt    #查看a.txt的文件大小，以k为单位</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  du -h a.txt      #查看a.txt的文件大小，以M为单位 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.5 文件目录权限设置</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">3.5.1 chmod命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： 有两种用法</span>\\\n    chmod [u<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">/g/o/a][+/</span>-<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">/=] rwx 文件/</span>目录     +:增加权限，-取消权限， =设定权限\\\n    chmod 数字 文件/目录\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  为文件或目录设置权限。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  chmod a=rw a.txt  为所有者设置读写权限 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  chmod 644 a.txt   为所有者设置读权限，为用户设置写权限。</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>4.文本内容查看及过滤</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.1 文本内容查看</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.1.1 cat命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： cat 文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看文本内容，会将内容全部显示。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cat a.txt  显示a.txt里的内容。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.1.2 more命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： more 文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  百分比显示文件内容，按Enter继续。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  more a.txt  若只有一页，则全部显示，否则按百分比显示。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.1.3 tail命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式：</span>\\\n        <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">tail</span> 文件名        <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#查看文本内容</span>\\\n        tail -n 数量 文件名      <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#只显示倒数的几行</span>\\\n        tail -f 文件名         <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 实时的查看文件写入的信息</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看文本内容，</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  tail a.txt   查看文件内容，和cat效果一样 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  tail -n 2 a.txt  显示a.txt最后两行 </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  tail -f a.txt    实时监控a.txt文本内容。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.1.4 head命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： </span>\\\n    <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">head</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">文件名</span>\\\n    <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">head</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">-n 数量 文件名</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看文本内容。</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    \\\n# 示例: </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    #  head a.txt    查看文本内容，和cat效果一样。</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    #  head -n 2 a.txt  查看文本的前两行 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.2 文本内容筛选过滤</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.2.1 grep命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： grep [选项] [模式] 文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  文本搜索工具。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  grep &quot;aaa&quot; a.txt    从a.txt中搜索aaa字符的行</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  grep -v &quot;aaa&quot; a.txt  从a.txt中不包含aaa的行 </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  grep -n &quot;aaa&quot; a.txt  从a.txt中搜索aaa字符的行,并在前面加上行号</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  grep -i &quot;aaa&quot; a.txt  从a.txt中搜索aaa字符的行,其中忽略aaa的大小写</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  grep -e &quot;a*&quot; a.txt   从a.txt中搜索匹配a字符的行</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ps -ef |grep &quot;mysql&quot;   查看mysql的进程</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#备注：grep命令非常强大，详细用法请参考本人另一篇关于grep命令的博文</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.2.2 sed命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： sed [选项]  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  文本编辑工具。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sed -n '2p' a.txt    从a.txt中的第二行内容</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sed '3,5d' a.txt     删除a.txt中第3到5行的内容，(注：源文件内容不变，只是回显内容会删除)</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sed '/aaa/d' a.txt   删除匹配aaa的行，从a.txt中 。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#备注：sed命令非常强大，详细用法请参考本人另一篇关于sed命令的博文</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.2.3 awk命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： awk [选项]  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  文本分析工具。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  awk '{print $5}' a.txt    显示a.txt中第5列的内容</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  awk 'NR &lt;=2 {print $1,$3,$5}' a.txt   显示前两行内容，每行只显示第1,3,5列 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  awk '/^d/ {print $1,$9}' a.txt 显示以d开头的行，每行只显示第一，九列 。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#备注：awk命令非常强大，详细用法请参考本人另一篇关于awk命令的博文</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.2.4 cut命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： cut 选项 文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于剪切字符。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cut -c 1-3 a.txt 只输出每行第一到第三的字符</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cut -f4 -d&quot; &quot; a.txt 显示第四列，以空格为分隔符 </span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.2.5 col命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： col 选项 文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于过滤字符。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例: </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  man ls | col-b &gt; ls_help  过滤掉ls手册中的控制字符并输出到文件</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.3 文本编辑</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.3.1 vi/vim命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： vi/vim  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于编辑文件。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  vi a.txt   编辑a.txt,可以进行修改里面的内容</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  vim a.txt  编辑a.txt,可以进行修改里面的内容</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 备注：</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(17, 75, 166);\\\">vi</span>和vim的用法基本一样，可以说vim是vi的增加版，就像记事本与notepad++</code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.4 输出到文本文件</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.4.1 &gt;命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： &gt;  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  将内容输出到文件，若文件中有内容则覆盖。若文件不存在，则创建文件</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ll &gt; a.txt   查看详细后输出到a.txt 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cat a.txt &gt; b.txt  将a.txt中的内容添加到b.txt中 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.4.2 &gt;&gt;命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： &gt;&gt;  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  将内容追加到文件，若文件中有内容则追加。若文件不存在，则创建文件</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ll &gt;&gt; a.txt   查看详细后追加到a.txt 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cat a.txt &gt;&gt; b.txt  将a.txt中的内容添加到b.txt中 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.4.3 tee命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： tee  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  将内容输出到文件并输出内容显示在控制台上。若文件不存在，则创建文件，一般需要和管道符(|)一起使用。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cat a.txt | tee b.txt  将a.txt中的内容添加到b.txt中，同时将添加内容回显到控制台上 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.5 文本内容处理</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.5.1 join命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： join  文件1 文件2</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于将两个文件中，指定栏目内容相同的行连接起来</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  join a.txt b.txt   若第一行相同，将后面的内容连接起来 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.5.2 split命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： split 数量 文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于将一个文件分割成数个</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># split -5 c.txt  按每5行显示分隔出一个文件。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.5.3 uniq命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： uniq  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于检查及删除文本文件中重复出现的行列，注意：重复的行一定是相邻的行，若不相邻不会删除</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uniq d.txt  将d.txt中相邻重复的行去掉 。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uniq d.txt | sort  将d.txt中相邻重复的行去掉并排序</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 备注： 此命令经常和sort命令结合使用，用于去重和排序。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.5.4 sort命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： sort  文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  对文本内容进行排序</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sort a.txt  将a.txt中的内容进行排序，默认为升序。</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># sort -r a.txt 将a.txt中的内容进行相反顺序排序</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uniq d.txt | sort -r 将d.txt中相邻重复的行去掉并倒序排序</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">4.5.5 paste命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： paste  文件1 文件2 ...</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  用于合并文件的列。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  cat a.txt b.txt  将两个文件的列合并起来显示 。</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>5.用户|组操作</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.1 用户增删改</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.1.1 useradd命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： useradd 新用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  创建用户</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  useradd test    创建test用户</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  useradd -d /home/test  test  创建test用户，并指定test用户的家目录为home/test</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  useradd -u 666 test   为test用户指定uid为666</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.1.2 adduser命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： adduser 新用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  创建用户</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  adduser test    创建test用户</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  adduser -d /home/test  test  创建test用户，并指定test用户的家目录为home/test</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  adduser -u 666 test   为test用户指定uid为666</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 备注：useradd和adduser使用上一致，设置两个命令可能就是为了解决用户将字母记错输返。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.1.3 userdel命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： userdel 用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  删除用户</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  userdel test   删除test用户</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  userdel -r test  删除test用户及其家目录</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.1.4 usermod命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： usermod 用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  修改用户</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  usermod -l test1 test    将用户test修改为test1</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  usermod -d /home/test00  test   将用户test的家目录修改为/home/test00</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  usermod -L test      锁定test用户的密码</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  usermod -U test      解锁test用户的密码</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.2 用户设置密码</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.2.1 passwd命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： passwd 用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  修改用户密码，输入命令回车后会引到用户设置新密码 。</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  passwd test     修改用户密码</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.3 组的增删改</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.3.1 groupadd命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： groupadd 用户组</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  添加用户组</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  groupadd  test   添加用户组为test</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  groupadd -g 9999 test  为创建用户组test并设置gid为9999</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.3.2 groupdel命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： groupdel 用户组</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  删除用户组</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  groupdel test  删除用户组test</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;text-align:left;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.3.3 groupmod</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： groupmod 用户组</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  修改用户组</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  groupmod -n root test    更改test用户组为root</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.4 文件设置用户权限</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.4.1 chown命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： chown 文件|目录 用户|用户组</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  更改文件目录的用户或用户组</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  chown root /test/a.txt  把a.txt的所有者设置为root</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  chown root:root /test/a.txt   把a.txt的所有者设置为root,组设置为root</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  chown -R test:test *    把当前目录下的所有文件都设置为test用户和test用户组</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.5 切换用户</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">5.5.1 su命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： su [-] 用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  切换用户</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  su test  切换当前用户为test用户   </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  su - test 切换当前用户为test用户</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 备注： 第一次切换时需要输入密码</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>6.任务管理器</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.1 进程</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.1 ps命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： ps [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示当前系统的进程状态</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ps -ef   显示所有进程</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ps -aux   显示所有进程</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ps -ef | grep mysql  查看mysql进程</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  ps -u root 显示root用户进程。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2 kill 命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： kill [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  杀掉系统中执行的程序(进程)</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  kill 319877   杀掉进程319877</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  kill -9  319877  强制杀掉进程319877</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2 系统资源</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2.1 top命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： top [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示系统中各个进程的资源占用情况</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   top    查看系统各个进程的资源占用，比如CPU ，内存信息。  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   top -n 5  动态更新5次结束</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   top -d 5  每隔5秒更新一次</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2.2 vmstat命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： vmstat [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示虚拟内存状态</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     vmstat    显示内存信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     vmstat  -s   以列表形式显示内存</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     vmstat 2  每隔2秒刷新一次</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2.3 free命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： free [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看系统内存信息</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   free   显示内存信息，默认以kb为单位  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   free -m   显示内存信息，以mb为单位</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   free -g   显示内存信息，以gb为单位</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2.4 df命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式：  df [参数] 分区</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看磁盘占用空间</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     df    查看各分区在磁盘占用情况</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     df -h   以比较容易阅读方式查看磁盘使用情况</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     df /dev/shm   查看该挂载点下的使用情况</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2.5 fdisk命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： fdisk [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  进行磁盘分区管理</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  fdisk -l  查看所有分区情况   </span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.2.6 netstat命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： netstat [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示各种网络信息</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   netstat    查看各网络信息 </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   netstat -an | grep 3306   查看3306端口的使用情况</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.3 服务</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.3.1 service命令（RHEL6）</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： service [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  服务管理</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   service --status-all    查看所有服务的运行状态  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   service  mysql  start   启动mysql</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   service  mysql  stop    停止mysql</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#   service  mysql  restart   重启mysql</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;height:0px;margin-top:18px;margin-bottom:18px;\\\"><br style=\\\"box-sizing:border-box;\\\"/></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.3.2 systemctl命令（RHEL7）</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： systemctl [选项] [服务]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  对服务进行管理，如启动/重启/停止/查看服务</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl status httpd.service   查看http服务状态</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl start httpd.service    启动http服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl stop  httpd.service    停止http服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl restart httpd.service  重启http服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl status firewalld   查看防火墙状态</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl start firewalld   开启防火墙</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl stop firewalld    关闭防火墙</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">6.3.3 chkconfig命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： chkconfig [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  更新（启动或停止）和查询系统服务的运行级信息</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     chkconfig -list   显示所有运行级系统服务的运行状态信息（on或off）</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     chkconfig –add httpd        增加httpd服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#     chkconfig –del httpd        删除httpd服务</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>7.网络管理</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">7.1 ifconfig命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\">#语法格式：<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> \\\n#作用:  查看或设置网络设备\\\n    \\\n# 示例:  \\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span>   查看网络信息，比如<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">IP</span>地址\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">down</span>    关闭<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span>的网卡 \\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">up</span>      开启<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span>的网卡\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">hw</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ether</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">00</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:AA</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:BB</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:CC</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:DD</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:EE</span>   修改<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">Mac</span>地址\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">add</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">32ffe</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:3840</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:320</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:2007</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">::2</span>/<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">64</span>      为网卡配置<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">IPV6</span>地址\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">del</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">32ffe</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:3840</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:320</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">:2007</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(217, 99, 34);\\\">::2</span>/<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">64</span>      删除网卡的<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">IPV6</span>地址\\\n    # <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">192</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.128</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.169</span>     修改<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ip</span>地址为<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">192</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.128</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.169</span> \\\n    # <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">192</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.128</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.169</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">netmask</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">255</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.255</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.255</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.0</span>    修改<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">IP</span>和子网掩码\\\n    # <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ifconfig</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">eth0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">192</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.1</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.56</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">netmask</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">255</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.255</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.255</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.0</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">broadcast</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">192</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.1</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.255</span>  修改<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ip</span>，子网掩码及网关</code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">7.2 ping命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\">#语法格式： <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">IP</span>地址\\\n#作用:  确认是否和某主机的网络相同\\\n    \\\n# 示例:  \\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span> 192<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.12</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.12</span>  确认是否能连通到192<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.168</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.12</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.12</span>\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">www</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.baidu</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.com</span>  确认是否能正常访问百度\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">-c</span> 4 <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">www</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.baidu</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.com</span>  只<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span>四次\\\n    #  <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span> <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">-c</span> 4 <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">-i</span> 2 <span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">www</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.baidu</span><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">.com</span>  只<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">ping</span>四次，每次间隔2<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">s</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">7.3 firewall-cmd命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： firewall-cmd [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  防火墙端口管理</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --state   查看当前防火墙的运行状态</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --zone=public --list-ports   查看所有放行的端口</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --reload   重新加载修改的配置</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --query-port=8888/tcp   查询端口8888是否被开放7.3 systemctl命令</span>\\\n\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： systemctl [选项] [服务]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  对服务进行管理，如启动/重启/停止/查看服务</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl status httpd.service   查看http服务状态</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl start httpd.service    启动http服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl stop  httpd.service    停止http服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl restart httpd.service  重启http服务</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl status firewalld   查看防火墙状态</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl start firewalld   开启防火墙</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  systemctl stop firewalld    关闭防火墙</span>\\\n\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(168, 46, 46);\\\">7.4</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">firewall-cmd命令</span>\\\n\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： firewall-cmd [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  防火墙端口管理</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --state   查看当前防火墙的运行状态</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --zone=public --list-ports   查看所有放行的端口</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --reload   重新加载修改的配置</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --query-port=8888/tcp   查询端口8888是否被开放</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --add-port=8888/tcp    开启8888端口通过防火墙</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --permanent --remove-port=123/tcp   关闭123端口</span>\\\n\\\n\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --add-port=8888/tcp    开启8888端口通过防火墙</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  firewall-cmd --permanent --remove-port=123/tcp   关闭123端口</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>8.安装更新配置</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">8.1 yum命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： yum [选项]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  rpm的软件包管理器</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum install mysql     安装mysql</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum remove mysql      卸载mysql </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum clean  mysql      清除缓存目录下的安装包</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum install           全部安装</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum update            全部更新</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum update mysql      更新mysql</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum info   mysql      显示mysql安装包信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum list  mysql       显示mysql安装包信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  yum list              显示所有已安装包和可安装包</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">8.2 sh命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： sh  可执行文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  运行可执行文件，一般都是shell脚本</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sh a.sh      运行a.sh文件，</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sh -x a.sh   运行并调试a.sh脚本</span></code></pre><h1 style=\\\"border:0px;margin:0px;padding:0px;box-sizing:border-box;margin-top:20px;margin-bottom:20px;position:relative;padding-left:0px;color:rgb(34, 34, 34);line-height:1.33333;font-weight:700;font-size:1.5em;\\\"><span style=\\\"font-size:1.5em;font-weight:700;color:rgb(34, 34, 34);line-height:1.33333;display:inline-block;position:static;margin-right:4px;margin-top:-3px;width:16px;height:16px;vertical-align:middle;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) 50% center / cover no-repeat;\\\"></span>9.系统相关</h1><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.1 环境变量</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.1.1 set命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： set [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示当前shell的变量，包括当前用户的变量;</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  abcd=100</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  set | grep abcd    显示abcd的变量值</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.1.2 unset命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： unset [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  删除shell变量的值</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  abcd=100</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  unset abcd    删除abcd的变量值</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.1.3 env命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： env [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  设置或显示当前环境变量</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  env    显示当前环境变量</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  env abcd=10    定义环境变量</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  env -u  abcd   删除已经定义的环境变量abcd</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.1.4 export命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： export [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  设置或显示环境变量</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  export  显示当前环境变量</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  export abcd=101  定义环境变量</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.2 重启与关机</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.2.1 shutdown命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： shutdown [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  关闭或重启</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  shutdown -h now      立即关机</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  shutdown -r now      立即重启</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  shutdown -h 22:30    22:30关机</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.2.2 reboot命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： reboot [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  重启计算机</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  reboot  重启</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.2.3 poweroff命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： poweroff [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  关闭计算机</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  poweroff    关闭计算机及电源</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.2.4 halt命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： halt </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  关闭操作系统</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  halt      关闭系统</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  halt -p   关闭计算机及电源，等同于poweroff</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  halt -f   强制关机</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.2.5 exit命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： exit</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  退出当前执行的shell</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  exit   退出当前shell </span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.3 查看系统信息</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.3.1 uname命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： uname [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示系统相关信息</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uname       显示当前系统</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uname -an   显示系统的详细信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uname -r    显示内核信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  uname -i    显示当前架构</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.3.2 date命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： date [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示或设定时间</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  date    查看当前时间</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  date -s &quot;2021-04-04 22:38:56&quot;   设置时间为2021-04-04 22:38:56</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.3.3 last命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： last </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  显示最近用户或终端的登录情况</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  last    显示最近用户的登录情况</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.3.4 history命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： history [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看历史输入命令</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  history   查看历史命令</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  history  | grep &quot;sed&quot;    查看输入过sed命令</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  history -5  查看最近的5条命令</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.3.5 who命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： who [参数]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  查看当前登录用户信息</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  who    查看登录用户信息</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  who -H  带标题显示 </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  who -b  输出系统最近启动时间</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.4 定时任务</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.4.1 crontab命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式：crontab [参数] </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  任务调度</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    \\\n# 示例:  </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    #  crontab -l   查看当前计划任务</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    #  crontab -e   创建计划任务，打开后，需要以按照如下格式编辑</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">    \\\n#备注</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">\\\n#设置格式如下：</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">minute(分)</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">  hour(小时)   day(天)   month(月)   week(周)   command(命令)   </span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">\\\n# 设置范围：</span>\\\n<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">minute</span>   <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">是从0到59之间的任何整数</span>\\\n<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">hour</span>     <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">是从0到23之间的任何整数</span>\\\n<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">day</span>  <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">    是从1到31之间的任何整数</span>\\\n<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">month</span>    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">是从1到12之间的任何整数</span>\\\n<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">week</span>     <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">是从0到7之间的任何整数，其中0或7代表星期日</span>\\\n<span style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;\\\">command</span>  <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">要执行的命令，可以是系统命令，也可以是自己编写的脚本文件</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">若某列没有设置，则使用*代替</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">。</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">\\\n# 举例：</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">*</span> <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(0, 117, 59);\\\">* 1 * *   tar -czvf bk.tar.gz /log_bakup       # 每天进行一次归档备份</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.5 运行管理员权限</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.5.1 sudo命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： sudo [命令]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  运行以管理员权限运行命令,一般是非root用户进行操作</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  (假设当前账号为test)</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  sudo mkdir abc   创建abc目录 。</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.6 其它</strong></p><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.6.1 clear命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： clear</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  清屏操作，也可以使用快捷键Ctrl + L</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  clear  清屏</span></code></pre><p style=\\\"border:0px;box-sizing:border-box;margin:0px;padding:0px;margin-top:20px;margin-bottom:20px;\\\"><strong style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-weight:700;\\\">9.6.2 echo命令</strong></p><pre style=\\\"font-size:1em;border:0px;margin:0px;box-sizing:border-box;background-color:rgb(244, 245, 246);word-break:break-all;margin-top:20px;margin-bottom:20px;display:block;overflow-x:auto;background:rgb(250, 250, 250);border-radius:3px;text-align:left;color:rgb(34, 34, 34);box-shadow:rgba(216, 216, 216, 0.5) 0px 0px 0px 1px inset;font-family:Monaco;padding:15px;white-space:pre-wrap;\\\"><code style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;font-family:inherit;overflow-wrap:normal;word-break:normal;overflow-x:auto;line-height:24px;font-size:14px;white-space:pre;\\\"><span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#语法格式： echo [变量]</span>\\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#作用:  输出变量值</span>\\\n    \\\n<span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\"># 示例:  </span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  echo  $abc  输出变量abc的值，需要提前定义abc的值</span>\\\n    <span style=\\\"margin:0px;padding:0px;border:0px;box-sizing:border-box;color:rgb(153, 153, 153);\\\">#  echo  `pwd`  显示当前路径</span></code></pre></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;float:left;\\\"></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;float:right;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;display:inline-block;font-size:14px;color:rgb(153, 153, 153);line-height:18px;cursor:pointer;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;vertical-align:middle;font-size:18px;color:rgb(255, 189, 29);font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:18px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(255, 189, 29);\\\"></span></i><span style=\\\"box-sizing:border-box;vertical-align:middle;padding-left:6px;\\\">收藏</span></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;display:inline-block;font-size:14px;color:rgb(153, 153, 153);line-height:18px;cursor:pointer;margin-left:10px;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;vertical-align:middle;color:rgb(202, 202, 202);font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i><span style=\\\"box-sizing:border-box;vertical-align:middle;padding-left:6px;\\\">举报</span></div></div><span style=\\\"display:table;clear:both;\\\"></span></div><div style=\\\"padding:0px;box-sizing:border-box;margin:30px 0px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:20px;font-size:16px;font-weight:700;color:rgb(101, 113, 128);\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><span style=\\\"box-sizing:border-box;font-size:22px;line-height:24px;font-family:Georgia;color:rgb(248, 89, 89);\\\">1020</span> 条评论</div></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;float:left;overflow:hidden;margin-top:7px;border:1px solid rgb(232, 232, 232);border-radius:50%;width:30px;height:30px;background:url(https://s3.pstatp.com/toutiao/resource/toutiao_web/static/style/image/newindex/default40_c78f50e.png) 50% center no-repeat;\\\"><img src=\\\":/126e543fcada476e9189eb02c853bc58\\\" type=\\\"image/jpeg\\\" data-filename=\\\"76996684592dbc151ee0a53b7a6735a4~c5_300x300.image\\\" height=\\\"28\\\" style=\\\"border:0px;box-sizing:border-box;width:100%;height:100%;object-fit:cover;\\\" width=\\\"28\\\"/></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;position:relative;margin-left:42px;border:1px solid rgb(63, 64, 76);font-size:16px;color:rgb(186, 186, 186);\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;position:absolute;top:0px;right:0px;text-align:right;background:rgb(244, 245, 246);\\\"></div></div></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:22px;border-top:1px solid rgb(242, 242, 242);\\\"><ul style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><div style=\\\"margin:0px;box-sizing:border-box;padding:14px 0px;border-bottom:none;\\\"><a href=\\\"https://www.toutiao.com/c/user/105139048140/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;float:left;overflow:hidden;border:1px solid rgb(232, 232, 232);border-radius:50%;width:30px;height:30px;background:url(https://s3.pstatp.com/toutiao/resource/toutiao_web/static/style/image/newindex/default40_c78f50e.png) 50% center no-repeat;\\\" target=\\\"_blank\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"></div></div></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-left:42px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:8px;font-size:14px;\\\"><a href=\\\"https://www.toutiao.com/c/user/105139048140/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;margin-right:5px;color:rgb(64, 101, 153);\\\" target=\\\"_blank\\\">搬砖的硬件工程师</a><span style=\\\"box-sizing:border-box;color:rgb(119, 119, 119);\\\">28天前</span></div><p style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:14px;line-height:22px;color:rgb(34, 34, 34);\\\">最实用命令\\\nrm -rf *</p><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:10px;font-size:14px;\\\"><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\">回复</span><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\"> ⋅ 20条回复<i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i></span><span style=\\\"box-sizing:border-box;cursor:pointer;float:right;margin-top:1px;margin-left:12px;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span><span style=\\\"box-sizing:border-box;float:right;line-height:1;color:rgb(119, 119, 119);cursor:pointer;\\\" title=\\\"点赞\\\">19 <i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:15px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:15px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span></div></div><span style=\\\"display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><div style=\\\"margin:0px;box-sizing:border-box;padding:14px 0px;border-bottom:none;\\\"><a href=\\\"https://www.toutiao.com/c/user/51074229656/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;float:left;overflow:hidden;border:1px solid rgb(232, 232, 232);border-radius:50%;width:30px;height:30px;background:url(https://s3.pstatp.com/toutiao/resource/toutiao_web/static/style/image/newindex/default40_c78f50e.png) 50% center no-repeat;\\\" target=\\\"_blank\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"></div></div></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-left:42px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:8px;font-size:14px;\\\"><a href=\\\"https://www.toutiao.com/c/user/51074229656/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;margin-right:5px;color:rgb(64, 101, 153);\\\" target=\\\"_blank\\\">小盛游戏资讯</a><span style=\\\"box-sizing:border-box;color:rgb(119, 119, 119);\\\">20天前</span></div><p style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:14px;line-height:22px;color:rgb(34, 34, 34);\\\">linux你们用的ubuntu还是kali？</p><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:10px;font-size:14px;\\\"><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\">回复</span><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\"> ⋅ 8条回复<i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i></span><span style=\\\"box-sizing:border-box;cursor:pointer;float:right;margin-top:1px;margin-left:12px;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span><span style=\\\"box-sizing:border-box;float:right;line-height:1;color:rgb(119, 119, 119);cursor:pointer;\\\" title=\\\"点赞\\\">1 <i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:15px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:15px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span></div></div><span style=\\\"display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><div style=\\\"margin:0px;box-sizing:border-box;padding:14px 0px;border-bottom:none;\\\"><a href=\\\"https://www.toutiao.com/c/user/58902533446/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;float:left;overflow:hidden;border:1px solid rgb(232, 232, 232);border-radius:50%;width:30px;height:30px;background:url(https://s3.pstatp.com/toutiao/resource/toutiao_web/static/style/image/newindex/default40_c78f50e.png) 50% center no-repeat;\\\" target=\\\"_blank\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"></div></div></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-left:42px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:8px;font-size:14px;\\\"><a href=\\\"https://www.toutiao.com/c/user/58902533446/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;margin-right:5px;color:rgb(64, 101, 153);\\\" target=\\\"_blank\\\">爱码僧</a><span style=\\\"box-sizing:border-box;color:rgb(119, 119, 119);\\\">23天前</span></div><p style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:14px;line-height:22px;color:rgb(34, 34, 34);\\\">面试遇到了一个问题，说是怎么将一个有外网权限的服务器上的文件移动到另一个没有外网权限的服务器？</p><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:10px;font-size:14px;\\\"><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\">回复</span><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\"> ⋅ 7条回复<i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i></span><span style=\\\"box-sizing:border-box;cursor:pointer;float:right;margin-top:1px;margin-left:12px;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span><span style=\\\"box-sizing:border-box;float:right;line-height:1;color:rgb(119, 119, 119);cursor:pointer;\\\" title=\\\"点赞\\\">0 <i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:15px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:15px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span></div></div><span style=\\\"display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><div style=\\\"margin:0px;box-sizing:border-box;padding:14px 0px;border-bottom:none;\\\"><a href=\\\"https://www.toutiao.com/c/user/1679658952177244/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;float:left;overflow:hidden;border:1px solid rgb(232, 232, 232);border-radius:50%;width:30px;height:30px;background:url(https://s3.pstatp.com/toutiao/resource/toutiao_web/static/style/image/newindex/default40_c78f50e.png) 50% center no-repeat;\\\" target=\\\"_blank\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"></div></div></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-left:42px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:8px;font-size:14px;\\\"><a href=\\\"https://www.toutiao.com/c/user/1679658952177244/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;margin-right:5px;color:rgb(64, 101, 153);\\\" target=\\\"_blank\\\">北京西单墙</a><span style=\\\"box-sizing:border-box;color:rgb(119, 119, 119);\\\">26天前</span></div><p style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:14px;line-height:22px;color:rgb(34, 34, 34);\\\">有图形化为什么非要用命令呢？</p><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:10px;font-size:14px;\\\"><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\">回复</span><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\"> ⋅ 18条回复<i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i></span><span style=\\\"box-sizing:border-box;cursor:pointer;float:right;margin-top:1px;margin-left:12px;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span><span style=\\\"box-sizing:border-box;float:right;line-height:1;color:rgb(119, 119, 119);cursor:pointer;\\\" title=\\\"点赞\\\">2 <i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:15px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:15px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span></div></div><span style=\\\"display:table;clear:both;\\\"></span></div></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;\\\"><div style=\\\"margin:0px;box-sizing:border-box;padding:14px 0px;border-bottom:none;\\\"><a href=\\\"https://www.toutiao.com/c/user/5530663570/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;float:left;overflow:hidden;border:1px solid rgb(232, 232, 232);border-radius:50%;width:30px;height:30px;background:url(https://s3.pstatp.com/toutiao/resource/toutiao_web/static/style/image/newindex/default40_c78f50e.png) 50% center no-repeat;\\\" target=\\\"_blank\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"></div></div></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-left:42px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-bottom:8px;font-size:14px;\\\"><a href=\\\"https://www.toutiao.com/c/user/5530663570/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;margin-right:5px;color:rgb(64, 101, 153);\\\" target=\\\"_blank\\\">土啵鼠</a><span style=\\\"box-sizing:border-box;color:rgb(119, 119, 119);\\\">1月前</span></div><p style=\\\"margin:0px;padding:0px;box-sizing:border-box;font-size:14px;line-height:22px;color:rgb(34, 34, 34);\\\">记住一个 rm ~rf /就够了</p><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:10px;font-size:14px;\\\"><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\">回复</span><span style=\\\"box-sizing:border-box;color:rgb(64, 101, 153);cursor:pointer;\\\"> ⋅ 3条回复<i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i></span><span style=\\\"box-sizing:border-box;cursor:pointer;float:right;margin-top:1px;margin-left:12px;\\\"><i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:14px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:14px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span><span style=\\\"box-sizing:border-box;float:right;line-height:1;color:rgb(119, 119, 119);cursor:pointer;\\\" title=\\\"点赞\\\">22 <i style=\\\"box-sizing:border-box;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;color:rgb(202, 202, 202);font-size:15px;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:15px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;color:rgb(202, 202, 202);\\\"></span></i></span></div></div><span style=\\\"display:table;clear:both;\\\"></span></div></li></ul></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;\\\"></div></div></div><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;float:right;width:340px;\\\"><div style=\\\"margin:0px;box-sizing:border-box;border-top:2px solid rgb(237, 64, 64);margin-bottom:16px;background:rgb(244, 245, 246);padding:15px 20px 20px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;display:table;\\\"><a href=\\\"https://www.toutiao.com/c/user/token/MS4wLjABAAAAIRCEGiQS6WxnT20BYH5EUReComwNmMNRvboBqvJHcaI/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);float:left;display:table-cell;overflow:hidden;margin-right:12px;border:1px solid rgb(232, 232, 232);border-radius:50%;background:rgb(221, 221, 221);width:52px;height:52px;box-sizing:border-box;\\\" target=\\\"_blank\\\"><img src=\\\"Linux的常用命令就是记不住，怎么办？于是推出了这套教程_files/cf2c0bd56ec1440c89a11648e4694650\\\" type=\\\"image/jpeg\\\" data-filename=\\\"cf2c0bd56ec1440c89a11648e4694650\\\" height=\\\"50\\\" style=\\\"border:0px;box-sizing:border-box;width:100%;height:100%;object-fit:cover;\\\" width=\\\"50\\\"/></a><div style=\\\"margin:0px;padding:0px;box-sizing:border-box;display:table-cell;vertical-align:middle;\\\"><a href=\\\"https://www.toutiao.com/c/user/token/MS4wLjABAAAAIRCEGiQS6WxnT20BYH5EUReComwNmMNRvboBqvJHcaI/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;box-sizing:border-box;display:inline-block;margin-bottom:4px;font-size:17px;font-weight:700;line-height:1;color:rgb(34, 34, 34);\\\" target=\\\"_blank\\\">雨滴测试</a><div style=\\\"margin:0px;padding:0px;position:relative;border:1px solid rgb(42, 144, 215);border-radius:3px;width:74px;height:24px;font-size:14px;color:rgb(255, 255, 255);background:rgb(42, 144, 215);text-align:center;cursor:pointer;box-sizing:border-box;\\\"><span style=\\\"font-size:14px;color:rgb(255, 255, 255);text-align:center;cursor:pointer;position:absolute;top:7px;left:-9px;border-width:4px;border-style:solid;border-color:transparent rgb(42, 144, 215) transparent transparent;border-image:initial;\\\"></span><i style=\\\"box-sizing:border-box;font-size:12px;display:inline-block;line-height:1;speak:none;font-weight:400;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;font-style:normal;font-family:ttIcons;\\\"><span style=\\\"font-style:normal;font-size:12px;line-height:1;font-weight:400;font-variant:normal;text-transform:none;font-family:ttIcons;\\\"></span></i><span style=\\\"box-sizing:border-box;line-height:22px;\\\">关注</span></div></div></div><ul style=\\\"margin:0px;padding:0px;box-sizing:border-box;margin-top:16px;border-top:1px solid rgb(232, 232, 232);\\\"><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;margin-top:12px;padding-left:9px;font-size:14px;line-height:20px;text-align:justify;\\\"><span style=\\\"list-style:none;font-size:14px;line-height:20px;text-align:justify;position:absolute;top:8px;left:0px;width:4px;height:4px;background:rgb(153, 153, 153);\\\"></span><a href=\\\"https://www.toutiao.com/item/6957560193852981768/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;\\\" target=\\\"_blank\\\">Linux常用软件安装列表汇总（下），你看还缺少那些包？</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;margin-top:12px;padding-left:9px;font-size:14px;line-height:20px;text-align:justify;\\\"><span style=\\\"list-style:none;font-size:14px;line-height:20px;text-align:justify;position:absolute;top:8px;left:0px;width:4px;height:4px;background:rgb(153, 153, 153);\\\"></span><a href=\\\"https://www.toutiao.com/item/6956605050395345416/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;\\\" target=\\\"_blank\\\">Linux下安装常用软件都有哪些？做了一个汇总列表，你看还缺啥？</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;margin-top:12px;padding-left:9px;font-size:14px;line-height:20px;text-align:justify;\\\"><span style=\\\"list-style:none;font-size:14px;line-height:20px;text-align:justify;position:absolute;top:8px;left:0px;width:4px;height:4px;background:rgb(153, 153, 153);\\\"></span><a href=\\\"https://www.toutiao.com/item/6953993455815148063/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;\\\" target=\\\"_blank\\\">你常使用的持续集成工具Jenkins，管理员都会做哪些配置？</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;margin-top:12px;padding-left:9px;font-size:14px;line-height:20px;text-align:justify;\\\"><span style=\\\"list-style:none;font-size:14px;line-height:20px;text-align:justify;position:absolute;top:8px;left:0px;width:4px;height:4px;background:rgb(153, 153, 153);\\\"></span><a href=\\\"https://www.toutiao.com/item/6941655011004891660/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;\\\" target=\\\"_blank\\\">Linux详解系列2- 这100条常见命令你都用过哪些？</a></li><li style=\\\"margin:0px;padding:0px;list-style:none;box-sizing:border-box;position:relative;margin-top:12px;padding-left:9px;font-size:14px;line-height:20px;text-align:justify;\\\"><span style=\\\"list-style:none;font-size:14px;line-height:20px;text-align:justify;position:absolute;top:8px;left:0px;width:4px;height:4px;background:rgb(153, 153, 153);\\\"></span><a href=\\\"https://www.toutiao.com/item/6933484769426588168/\\\" rel=\\\"noopener noreferrer\\\" style=\\\"background-color:transparent;cursor:pointer;text-decoration:none;color:rgb(34, 34, 34);box-sizing:border-box;\\\" target=\\\"_blank\\\">如何在jmeter中快速开发性能脚本？这个功能你需要知道</a></li></ul></div></div><span style=\\\"display:table;clear:both;\\\"></span></div><div style=\\\"margin:0px;box-sizing:border-box;padding:0px 340px 0px 140px;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:content-box;\\\"><div style=\\\"margin:0px;padding:0px;box-sizing:content-box;\\\"> </div></div></div></div></div></div></div></div></div>\\\n</div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":213444}]"
metadata_diff: {"new":{"id":"6b96c334c976416fb4f729548b06c2b7","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348821427,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:03:44.941Z
created_time: 2025-11-28T21:03:44.941Z
type_: 13