arch, bzip2, command, gunicorn, history, htop, shasum, stty, yes: move translation to correct directories (#5362)

This commit is contained in:
marchersimon
2021-03-07 21:50:02 +01:00
committed by GitHub
parent 6443e6a725
commit 9ffbe151a6
10 changed files with 0 additions and 0 deletions

View File

@@ -1,7 +0,0 @@
# command
> 命令强制 shell 执行命令程序,并忽略具有相同名称的任何函数、内置函数和别名(会忽略掉一切别名,执行命令本身).
- 从字面上执行 `ls` 程序,即使存在 ls 别名:
`command {{ls}}`

View File

@@ -1,27 +0,0 @@
# gunicorn
> Python 的 WSGI http 服务器.
- 运行 python web 应用程序:
`gunicorn {{导入路径:应用程序}}`
- 在 localhost 上监听 8080 端口:
`gunicorn --bind {{localhost}}:{{8080}} {{导入路径:应用程序}}`
- 启用实时自动加载:
`gunicorn --reload {{导入路径:应用程序}}`
- 使用 4 个工作进程处理请求:
`gunicorn --workers {{4}} {{导入路径:应用程序}}`
- 使用 4 个工作线程处理请求:
`gunicorn --threads {{4}} {{导入路径:应用程序}}`
- 通过 https 运行应用程序:
`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{导入路径:应用程序}}`

View File

@@ -1,23 +0,0 @@
# shasum
> 计算或检查加密 SHA 校验值.
- 计算文件的 SHA1 校验值:
`shasum {{文件名}}`
- 计算文件的 SHA256 校验值:
`shasum --algorithm 256 {{文件名}}`
- 计算多个文件的 SHA512 校验值:
`shasum --algorithm 512 {{文件名 1}} {{文件名 2}}`
- 计算一个文件内列出的所有的目录文件的相对应的总数:
`shasum --check {{列表文件}}`
- 从标准输入中获取并计算 SHA1 校验值:
`{{其他命令}} | shasum`

View File

@@ -1,23 +0,0 @@
# stty
> 设置终端设备接口的选项.
- 显示当前终端的所有设置:
`stty -a`
- 设置行数:
`stty rows {{行数}}`
- 设置列数:
`stty cols {{列数}}`
- 获取设备的实际传输速度:
`stty -f {{目标 / 文件夹 / 驱动设备文件}} speed`
- 将当前终端的所有模式重置为合理值:
`stty sane`