{"id":13632840,"url":"https://github.com/xuxiaodong/usingcli-book","last_synced_at":"2025-04-08T18:19:04.097Z","repository":{"id":63359749,"uuid":"567129036","full_name":"xuxiaodong/usingcli-book","owner":"xuxiaodong","description":"像黑客一样使用命令行","archived":false,"fork":false,"pushed_at":"2022-11-18T00:23:44.000Z","size":27084,"stargazers_count":1449,"open_issues_count":0,"forks_count":85,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-01T15:16:32.430Z","etag":null,"topics":["bash","command-line","zsh"],"latest_commit_sha":null,"homepage":"https://usingcli.linuxtoy.org","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuxiaodong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-17T06:04:10.000Z","updated_at":"2025-03-26T10:53:17.000Z","dependencies_parsed_at":"2022-11-17T16:00:25.895Z","dependency_job_id":null,"html_url":"https://github.com/xuxiaodong/usingcli-book","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuxiaodong%2Fusingcli-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuxiaodong%2Fusingcli-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuxiaodong%2Fusingcli-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuxiaodong%2Fusingcli-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuxiaodong","download_url":"https://codeload.github.com/xuxiaodong/usingcli-book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247898519,"owners_count":21014722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","command-line","zsh"],"created_at":"2024-08-01T22:03:19.091Z","updated_at":"2025-04-08T18:19:04.073Z","avatar_url":"https://github.com/xuxiaodong.png","language":"TeX","funding_links":[],"categories":["TeX"],"sub_categories":[],"readme":"# 像黑客一样使用命令行\n\n\u003cimg src=\"images/cover-thumb.png\" align=\"right\" alt=\"像黑客一样使用命令行\" /\u003e\n\n精通命令行用法通常被认为是 Linux 黑客的秘密武器。对于普通用户而言，这种看似比较复杂、难以掌握的技能，其实只要打消恐惧心理，辅之以一定的练习，学会并不难。本书将从实际的例子出发，教你从无到有，一步一步的学习使用命令行。一旦夯实了基础，在学了高级命令行用法后，你也可以像 Linux 黑客一样感受到使用命令行是何等的高效和令人愉悦。\n\n除了文字版本之外，本书亦有[配套视频](https://selfhostedserver.com/usingcli)。\n\n## 目录\n\n+ 第一章 入门指引\n\n  - 控制台\n  - 终端\n  - 终端模拟器\n  - Shell\n  - 命令行界面\n  - 如何进入命令行\n  - 你好，命令行\n\n+ 第二章 神奇补全\n\n  - 何谓补全\n  - 补全触发按键\n  - 文件名、路径名补全\n  - 程序名、命令名补全\n  - 用户名、主机名及变量名补全\n  - 可编程补全\n\n+ 第三章 重温历史\n\n  - 设置历史变量\n  - 查看历史命令\n  - 搜索历史命令\n  - 前后移动历史命令\n  - 快速修改并执行上一条命令\n  - 快速执行历史命令\n  - 快速引用上一条命令的参数\n  - 快速引用参数的部分内容\n  - 历史命令展开模式总结\n\n+ 第四章 编辑大法\n\n  - 设置编辑模式\n  - Emacs 编辑模式实战\n  - vi 编辑模式实战\n\n+ 第五章 必备锦囊\n\n  - 快速导航\n  - 使用别名\n  - 利用 `{}` 构造参数\n  - 其它妙招\n\n+ 第六章 周边好品\n\n  - 配置框架\n  - 增强工具\n\n+ 第七章 结语\n\n## 构建\n\n本书源文件使用 [R Markdown](https://rmarkdown.rstudio.com/) 格式编写而成，通过 [bookdown](https://bookdown.org/) 工具生成 PDF 及 ePub 电子书。在准备好这些工具之后，执行以下命令即可：\n\n```\n$ make \n```\n\n这将在 `_book` 目录生成 `usingcli.pdf` 和 `usingcli.epub` 文件。\n\n## 许可\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e\u003cimg alt=\"知识共享许可协议\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png\" /\u003e\u003c/a\u003e\n\n本作品采用\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-sa/4.0/\"\u003e知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议\u003c/a\u003e进行许可。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuxiaodong%2Fusingcli-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuxiaodong%2Fusingcli-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuxiaodong%2Fusingcli-book/lists"}