chenjiandongx / How
Licence: mit
📝 Impressive Linux commands cheat sheet (Python).
Stars: ✭ 69
Programming Languages
python
139335 projects - #7 most used programming language
Labels
Projects that are alternatives of or similar to How
Kubernetes Cheatsheet
This is Kubernetes Cheatsheet based on Kubernetes API 1.19 version.
Stars: ✭ 53 (-23.19%)
Mutual labels: cheatsheet
70 535 Architecting Microsoft Azure Solutions Exam Notes
Exam Notes 70-535: Architecting Microsoft Azure Solutions
Stars: ✭ 63 (-8.7%)
Mutual labels: cheatsheet
Paredit Cheatsheet
A new, scalable source document for the Paredit Cheatsheet available as a png on the Emacs wiki
Stars: ✭ 48 (-30.43%)
Mutual labels: cheatsheet
Swift Cheatsheet
A quick reference cheat sheet for common, high level topics in Swift.
Stars: ✭ 914 (+1224.64%)
Mutual labels: cheatsheet
Tailwind Cheatsheet
A printable one-page cheatsheet for TailwindCSS.
Stars: ✭ 67 (-2.9%)
Mutual labels: cheatsheet
Algorithms Cheatsheet Resources
🤓All the geeky stuffs you need to know at one place!
Stars: ✭ 60 (-13.04%)
Mutual labels: cheatsheet
Yoctoproject Cheatsheet
One-Stop Repository for all that wish to skim through or deep-dive into Yocto Project
Stars: ✭ 39 (-43.48%)
Mutual labels: cheatsheet
Patterns Cheatsheet
Software design patterns cheatsheet.
Stars: ✭ 47 (-31.88%)
Mutual labels: cheatsheet
Cheatsheet
Cool command-line cheatsheet. Open format, grep-able, where you need them most.
Stars: ✭ 58 (-15.94%)
Mutual labels: cheatsheet
Resources and bookmarks
Personal bookmarks and cheat sheets
Stars: ✭ 64 (-7.25%)
Mutual labels: cheatsheet
Javascript Cheatsheets
This repository consist of cheatsheets of JS Framworks & Libraries.
Stars: ✭ 67 (-2.9%)
Mutual labels: cheatsheet
Bash Snippets
A collection of small bash scripts for heavy terminal users
Stars: ✭ 8,558 (+12302.9%)
Mutual labels: cheatsheet
Data Science Best Resources
Carefully curated resource links for data science in one place
Stars: ✭ 1,104 (+1500%)
Mutual labels: cheatsheet
📝 how
Impressive Linux commands cheat sheet.
💡 IDEA
Linux 是每位开发者必备的技能,如何高效地掌握 Linux 命令就成为一件很重要的事了。jaywcjlove/linux-command 项目收集和整理了 500+ 的 Linux 命令使用文档,不过缺少了一个命令行版本,how
决定来填补这个空缺。
- Golang 版本: chenjiandongx/pls
🔰 安装
pip 安装
$ pip install how
源码安装
$ git clone https://github.com/chenjiandongx/how.git
$ cd how
$ pip install -r requirements.txt
$ python setup.py install
📏 使用
$ how
usage: how [-h] [-i] [-v] [COMMAND [COMMAND ...]]
Lovely Linux commands cheat sheet.
positional arguments:
COMMAND the puzzling command
optional arguments:
-h, --help show this help message and exit
-i, --init initialize all commands
-v, --version displays the current version of `how`
Note: 建议第一次使用
how
时先初始化所有的命令文档,how -i
,该命令会将 https://github.com/jaywcjlove/linux-command 的 .md 文档下载到~/.command
本地路径下。不过这个操作不是必须的,因为如果how some-command
在本地路径中查询不到的话,会尝试先向远程地址下载。
🔖 示例
初始化所有文档,同时也是更新所有文档的命令
$ how -i
Initializing commands: 96/562
查询如何使用 man
命令
$ how man
# man
查看 Linux 中的指令帮助
## 补充说明
man 命令 是 Linux 下的帮助指令,通过 man 指令可以查看
Linux 中的指令帮助、配置文件帮助和编程帮助等信息。
### 语法
man(选项)(参数)
### 选项
-a:在所有的 man 帮助手册中搜索;
-f:等价于 whatis 指令,显示给定关键字的简短描述信息;
-P:指定内容时使用分页程序;
-M:指定 man 手册搜索的路径。
### 参数
- 数字:指定从哪本 man 手册中搜索帮助;
- 关键字:指定要搜索帮助的关键字。
### 数字代表内容
1:用户在 shell 环境可操作的命令或执行文件;
2:系统内核可调用的函数与工具等
3:一些常用的函数(function) 与函数库(library),大部分为 C
的函数库(libc)
4:设备文件说明,通常在/dev 下的文件
5:配置文件或某些文件格式
6:游戏(games)
7:惯例与协议等,如 Linux 文件系统,网络协议,ASCII code
等说明
8:系统管理员可用的管理命令
9:跟 kernel 有关的文件
### 实例
我们输入 man ls,它会在最左上角显示“LS(1)”,在这里,“LS”表示手
册名称,而“(1)”表示该手册位于第一节章,同样,我们输 man
ifconfig
它会在最左上角显示“IFCONFIG(8)”。也可以这样输入命令:“man
[章节号] 手册名称”。
man 是按照手册的章节号的顺序进行搜索的,比如:
man sleep
只会显示 sleep 命令的手册,如果想查看库函数 sleep,就要输入:
man 3 sleep
📅 Changelog
V0.1.1 - 2020-05-11
- Updated: 更新命令列表
V0.1.0 - 2019-07-28
- Alpha: 第一个正式版发布
📃 LICENSE
MIT ©chenjiandongx
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].