Skip to content

Commit

Permalink
chore: fix some typos (#569)
Browse files Browse the repository at this point in the history
Signed-off-by: shuangcui <[email protected]>
  • Loading branch information
shuangcui authored Mar 14, 2024
1 parent 57bb010 commit a90fb67
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion command/ab.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ name[:port]/path
-g gnuplot-file
# Write all measured values out as a 'gnuplot' or TSV (Tab separate
# values) file. This file can easily be imported into packages like
# Gnuplot, IDL, Mathematica, Igor or even Excell. The labels are on
# Gnuplot, IDL, Mathematica, Igor or even Excel. The labels are on
# the first line of the file.
-h # 显示使用说明
-H custom-header
Expand Down
2 changes: 1 addition & 1 deletion command/arping.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ arping(选项)(参数)
-f:表示在收到第一个响应报文后就退出;
-w timeout:设定一个超时时间,单位是秒。如果到了指定时间,arping还没到完全收到响应则退出;
-c count:表示发送指定数量的ARP请求数据包后就停止。如果指定了deadline选项,则arping会等待相同数量的arp响应包,直到超时为止;
-s source:设定arping发送的arp数据包中的SPA字段的值。如果为空,则按下面处理,如果是DAD模式(冲突地址探测),则设置为0.0.0.0,如果是Unsolicited ARP模式(Gratutious ARP)则设置为目标地址,否则从路由表得出;
-s source:设定arping发送的arp数据包中的SPA字段的值。如果为空,则按下面处理,如果是DAD模式(冲突地址探测),则设置为0.0.0.0,如果是Unsolicited ARP模式(Gratuitous ARP)则设置为目标地址,否则从路由表得出;
-I interface:设置ping使用的网络接口。
```

Expand Down
2 changes: 1 addition & 1 deletion command/gdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Breakpoint 4, main () at gdb-sample.c:17
1: x/i $pc 0x804835c <main+16>: movl $0x1,0xfffffffc(%ebp)
```
此时可以使用“i r”命令显示寄存器中的当前值———“i r”即“Infomation Register”:
此时可以使用“i r”命令显示寄存器中的当前值———“i r”即“Information Register”:
```shell
(gdb) i r
Expand Down
2 changes: 1 addition & 1 deletion command/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ git remote show origin # 查看指定源的全部信息
```shell
git tag -a v0.1 -m 'my version 1.4' # 新建带注释标签
git push origin --tags # 一次性推送所有分支
git push origin v1.5 # 推送单个tag到orgin源上
git push origin v1.5 # 推送单个tag到origin源上
git tag -v v1.4.2.1 # 验证标签,验证已经签署的标签
git show v1.5 # 看到对应的 GPG 签
Expand Down
2 changes: 1 addition & 1 deletion command/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ info info
**Del 键** 上一页(PageUp 也可以,上一页从当前页的开始两行开始算起)
上一个 Node (若当前页 Node 文档的开始)

**b 或 t 或 Home** 文档的开始(b 是 begining 的意思)
**b 或 t 或 Home** 文档的开始(b 是 beginning 的意思)
**e 或 End** 文档的末尾(b 是 ending 的意思)
**Ctrl-l** 刷新当前页,若当前文档显示情况有问题时
**Ctrl-g** 取消所键入的指令
Expand Down
2 changes: 1 addition & 1 deletion command/nethogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ usage: nethogs [-V] [-h] [-b] [-d seconds] [-v mode] [-c count] [-t] [-p] [-s] [
```shell
-d : 刷新间隔
-h : 帮助
-p : promiscious 模式
-p : promiscuous 模式
-t : trace模式
-V : 版本
```
Expand Down

0 comments on commit a90fb67

Please sign in to comment.