Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed markdown syntax errors in README-zh.md #878

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@
- 将 web 服务器上当前目录下所有的文件(以及子目录)暴露给你所处网络的所有用户,使用:
`python -m SimpleHTTPServer 7777` (使用端口 7777 和 Python 2)或`python -m http.server 7777` (使用端口 7777 和 Python 3)。

- 以其他用户的身份执行命令,使用 `sudo`。默认以 root 用户的身份执行;使用 `-u` 来指定其他用户。使用 `-i` 来以该用户登录(需要输入_你自己的_密码)。
- 以其他用户的身份执行命令,使用 `sudo`。默认以 root 用户的身份执行;使用 `-u` 来指定其他用户。使用 `-i` 来以该用户登录(需要输入 _你自己的_ 密码)。

- 将 shell 切换为其他用户,使用 `su username` 或者 `su - username`。加入 `-` 会使得切换后的环境与使用该用户登录后的环境相同。省略用户名则默认为 root。切换到哪个用户,就需要输入_哪个用户的_密码
- 将 shell 切换为其他用户,使用 `su username` 或者 `su - username`。加入 `-` 会使得切换后的环境与使用该用户登录后的环境相同。省略用户名则默认为 root。切换到哪个用户,就需要输入 _哪个用户的_ 密码

- 了解命令行的 [128K 限制](https://wiki.debian.org/CommonErrorMessages/ArgumentListTooLong)。使用通配符匹配大量文件名时,常会遇到“Argument list too long”的错误信息。(这种情况下换用 `find` 或 `xargs` 通常可以解决。)

Expand Down