添加apt visudo命令
This commit is contained in:
parent
3cb2ef6def
commit
75f7d134ad
@ -18,6 +18,21 @@ apt-get upgrade #升级软件
|
|||||||
apt-get clean #清理所有软件缓存
|
apt-get clean #清理所有软件缓存
|
||||||
|
|
||||||
apt-get autoclean #清理旧版本的软件缓存
|
apt-get autoclean #清理旧版本的软件缓存
|
||||||
|
|
||||||
|
apt-cahe search xxx #搜索可安装的软件
|
||||||
|
|
||||||
|
apt-config dump #打印 apt-get 配置
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
### apt 命令
|
||||||
|
|
||||||
|
Ubuntu 16.04 新添加的命令,将 `apt-get` `apt-cache` `apt-config` 命令常用的选项合并到一起,以下的新增的命令
|
||||||
|
|
||||||
|
```
|
||||||
|
apt list #查看已安装的软件
|
||||||
|
|
||||||
|
apt edit-sources #快速编辑 apt 源
|
||||||
```
|
```
|
||||||
|
|
||||||
补充:部分系统需要具有 `root` 权限的普通用户才能执行,在命令前加 `sudo` 即可。
|
补充:部分系统需要具有 `root` 权限的普通用户才能执行,在命令前加 `sudo` 即可。
|
||||||
|
70
book.json
70
book.json
@ -4,12 +4,12 @@
|
|||||||
"title" : "PHPer 必知必会的 Linux 命令",
|
"title" : "PHPer 必知必会的 Linux 命令",
|
||||||
"language": "zh-hans",
|
"language": "zh-hans",
|
||||||
"links": {
|
"links": {
|
||||||
"sidebar": {
|
"sidebar": {
|
||||||
"PHPer 必知必会的 Linux 命令": "https://linux.hellocode.name/"
|
"PHPer 必知必会的 Linux 命令": "https://linux.hellocode.name/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"styles": {
|
"styles": {
|
||||||
"website": "styles/website.css"
|
"website": "styles/website.css"
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"favicon",
|
"favicon",
|
||||||
@ -46,39 +46,39 @@
|
|||||||
"label": "编辑本页面"
|
"label": "编辑本页面"
|
||||||
},
|
},
|
||||||
"sitemap": {
|
"sitemap": {
|
||||||
"hostname": "http://linux.hellocode.name"
|
"hostname": "http://linux.hellocode.name"
|
||||||
},
|
},
|
||||||
"donate": {
|
"donate": {
|
||||||
"wechat": "https://wp.hellocode.name/wp-content/uploads/2017/12/reward_1513737335-200x200.jpg",
|
"wechat": "https://wp.hellocode.name/wp-content/uploads/2017/12/reward_1513737335-200x200.jpg",
|
||||||
"alipay": "https://wp.hellocode.name/wp-content/uploads/2017/12/reward_1513737644-200x200.jpg",
|
"alipay": "https://wp.hellocode.name/wp-content/uploads/2017/12/reward_1513737644-200x200.jpg",
|
||||||
"title": "",
|
"title": "",
|
||||||
"button": "赏",
|
"button": "赏",
|
||||||
"alipayText": "支付宝打赏",
|
"alipayText": "支付宝打赏",
|
||||||
"wechatText": "微信打赏"
|
"wechatText": "微信打赏"
|
||||||
},
|
},
|
||||||
"sharing": {
|
"sharing": {
|
||||||
"douban": false,
|
"douban": false,
|
||||||
"facebook": false,
|
"facebook": false,
|
||||||
"google": false,
|
"google": false,
|
||||||
"hatenaBookmark": false,
|
"hatenaBookmark": false,
|
||||||
"instapaper": false,
|
"instapaper": false,
|
||||||
"line": false,
|
"line": false,
|
||||||
"linkedin": false,
|
"linkedin": false,
|
||||||
"messenger": false,
|
"messenger": false,
|
||||||
"pocket": false,
|
"pocket": false,
|
||||||
"qq": false,
|
"qq": false,
|
||||||
"qzone": false,
|
"qzone": false,
|
||||||
"stumbleupon": false,
|
"stumbleupon": false,
|
||||||
"twitter": true,
|
"twitter": true,
|
||||||
"viber": false,
|
"viber": false,
|
||||||
"vk": false,
|
"vk": false,
|
||||||
"weibo": true,
|
"weibo": true,
|
||||||
"whatsapp": false,
|
"whatsapp": false,
|
||||||
"all": [
|
"all": [
|
||||||
"facebook", "twitter","weibo",
|
"facebook", "twitter","weibo",
|
||||||
"qq", "qzone"
|
"qq", "qzone"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user