pages.*: use keith.github.io for builtin man pages (#12168)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
> 显示音频文件元数据(Metadata)详细信息(OS X)。
|
||||
> OS X 自带命令。
|
||||
> 更多信息:<https://ss64.com/osx/afinfo.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/afinfo.1.html>.
|
||||
|
||||
- 显示给定音频文件的详细信息:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# airport
|
||||
|
||||
> 无线网络配置工具。
|
||||
> 更多信息:<https://ss64.com/osx/airport.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/airport.1.html>.
|
||||
|
||||
- 显示当前的无线状态信息:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# apachectl
|
||||
|
||||
> 用于 macOS 的 Apache HTTP Server 控制接口(工具)。
|
||||
> 更多信息:<https://www.unix.com/man-page/osx/8/apachectl/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/apachectl.8.html>.
|
||||
|
||||
- 启动 org.apache.httpd 服务:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 显示系统架构的名称,或者在不同的架构下运行命令。
|
||||
> 另见: `uname`.
|
||||
> 更多信息:<https://www.unix.com/man-page/osx/1/arch/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/arch.1.html>.
|
||||
|
||||
- 显示系统的架构:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 便携式 GNU 汇编程序。
|
||||
> 主要用于汇编 `gcc` 的输出以供 `ld` 使用。
|
||||
> 更多信息:<https://www.unix.com/man-page/osx/1/as/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/as.1.html>.
|
||||
|
||||
- 汇编文件,将输出写入 a.out:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 将磁盘映像还原(复制)到卷上。
|
||||
> 命令名称是 Apple Software Restore 的缩写。
|
||||
> 更多信息:<https://www.unix.com/man-page/osx/8/asr/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/asr.8.html>.
|
||||
|
||||
- 将磁盘映像复制到目标卷:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# base64
|
||||
|
||||
> 使用 Base64 来进行编码和解码。
|
||||
> 更多信息:<https://www.unix.com/man-page/osx/1/base64/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/base64.1.html>.
|
||||
|
||||
- 编码目标文件:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# caffeinate
|
||||
|
||||
> 防止 Mac 进入休眠模式。
|
||||
> 更多信息:<https://ss64.com/osx/caffeinate.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/caffeinate.8.html>.
|
||||
|
||||
- 防止进入休眠模式 , 1 小时内(3600 秒):
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# cal
|
||||
|
||||
> 打印日历信息。
|
||||
> 更多信息:<https://ss64.com/osx/cal.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/cal.1.html>.
|
||||
|
||||
- 显示本月日历:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# chflags
|
||||
|
||||
> 更改文件或文件夹的标志。
|
||||
> 更多信息:<https://ss64.com/osx/chflags.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/chflags.1.html>.
|
||||
|
||||
- 给文件设置 hidden(隐藏)标签:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# codesign
|
||||
|
||||
> 为 macOS 的应用程序签名。
|
||||
> 更多信息:<https://www.unix.com/man-page/osx/1/codesign/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/codesign.1.html>.
|
||||
|
||||
- 用证书签名:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# date
|
||||
|
||||
> 设置或显示系统日期。
|
||||
> 更多信息:<https://ss64.com/osx/date.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/date.1.html>.
|
||||
|
||||
- 使用默认区域设置的格式显示当前日期:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# defaults
|
||||
|
||||
> 读取和写入 macOS 应用程序的用户配置。
|
||||
> 更多信息:<https://ss64.com/osx/defaults.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/defaults.1.html>.
|
||||
|
||||
- 读取应用程序选项的系统默认值:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# diskutil
|
||||
|
||||
> 用于管理本地磁盘和卷的实用程序。
|
||||
> 更多信息:<https://ss64.com/osx/diskutil.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/diskutil.8.html>.
|
||||
|
||||
- 列出所有当前可用的磁盘、分区和已装入的卷:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# ditto
|
||||
|
||||
> 复制文件和目录。
|
||||
> 更多信息:<https://ss64.com/osx/ditto.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/ditto.1.html>.
|
||||
|
||||
- 用源目录的内容覆盖目标目录的内容:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# dmesg
|
||||
|
||||
> 将内核消息写入标准输出。
|
||||
> 更多信息:<https://www.manpagez.com/man/8/dmesg/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/dmesg.8.html>.
|
||||
|
||||
- 显示内核消息:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# drutil
|
||||
|
||||
> 与 DVD 刻录机交互。
|
||||
> 更多信息:<https://ss64.com/osx/drutil.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/drutil.1.html>.
|
||||
|
||||
- 从驱动器中弹出磁盘:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# du
|
||||
|
||||
> 磁盘使用率:估计和汇总文件和目录空间使用率。
|
||||
> 更多信息:<https://ss64.com/osx/du.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/du.1.html>.
|
||||
|
||||
- 以给定单位(KiB/MiB/GiB)列出目录和所有子目录的大小:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 检查或修复文件系统的完整性,运行命令时应卸载文件系统。
|
||||
> 它是一个包装器,包含 `fsck_hfs`, `fsck_apfs`, `fsck_msdos`, `fsck_exfat`, `fsck_udf` 作为可选。
|
||||
> 更多信息:<https://ss64.com/osx/fsck.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/fsck.8.html>.
|
||||
|
||||
- 检查文件系统 /dev/sda,报告损坏的块:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# ipconfig
|
||||
|
||||
> 查看和编辑网卡信息.
|
||||
> 更多信息:<https://ss64.com/osx/ipconfig.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/ipconfig.8.html>.
|
||||
|
||||
- 列出所有的网卡:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 用于启动守护程序(系统范围的服务)和启动代理程序(每个用户程序)的命令行界面,该界面指向苹果的`launchd` 管理工具。
|
||||
> `launchd`加载放置在适当位置的基于 XML 的`*.plist`文件,并根据其定义的计划运行相应的命令。
|
||||
> 更多信息:<https://manned.org/launchctl>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/launchctl.1.html>.
|
||||
|
||||
- 每当用户登录时,自动将 plist 文件加载到 `launchd`:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# locate
|
||||
|
||||
> 快速查找文件名。
|
||||
> 更多信息:<https://manned.org/locate>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/locate.1.html>.
|
||||
|
||||
- 在数据库中查找关键字。注意:数据库定期重新更新(通常每周或每天):
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# look
|
||||
|
||||
> 查找已排序的文件行(注意,必须是已排序的文件)。
|
||||
> 更多信息:<https://manned.org/look>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/look.1.html>.
|
||||
|
||||
- 它开始寻找一个给定的前缀:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# md5
|
||||
|
||||
> 计算 MD5 加密和校验。
|
||||
> 更多信息:<https://ss64.com/osx/md5.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/md5.1.html>.
|
||||
|
||||
- 计算一个文件的 MD5 校验值:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# mdfind
|
||||
|
||||
> 列出与给定查询匹配的文件。
|
||||
> 更多信息:<https://ss64.com/osx/mdfind.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/mdfind.1.html>.
|
||||
|
||||
- 按文件名查找文件:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# mdutil
|
||||
|
||||
> 管理 Spotlight(聚焦搜索)用于搜索的索引数据。
|
||||
> 更多信息:<https://ss64.com/osx/mdutil.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/mdutil.1.html>.
|
||||
|
||||
- 显示指定卷('/')的索引状态:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# open
|
||||
|
||||
> 打开文件、目录和应用程序。
|
||||
> 更多信息:<https://ss64.com/osx/open.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/open.1.html>.
|
||||
|
||||
- 使用系统关联的应用程序打开文件:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# osascript
|
||||
|
||||
> 在命令行中运行指定的 AppleScript 或 JavaScript 脚本程序。
|
||||
> 更多信息:<https://ss64.com/osx/osascript.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/osascript.1.html>.
|
||||
|
||||
- 运行一个 AppleScript 命令:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 将来自标准输入的数据放入剪贴板。
|
||||
> 相当于在键盘上按下 Cmd + C.
|
||||
> 更多信息:<https://ss64.com/osx/pbcopy.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/pbcopy.1.html>.
|
||||
|
||||
- 将文件的内容放入剪贴板:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 将剪贴板的内容发送到标准输出。
|
||||
> 相当于在键盘上按下 Cmd + V.
|
||||
> 更多信息:<https://ss64.com/osx/pbpaste.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/pbpaste.1.html>.
|
||||
|
||||
- 将剪贴板的内容写入文件:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# ping
|
||||
|
||||
> 向网络主机发送 ICMP 回显请求数据包。
|
||||
> 更多信息:<https://ss64.com/osx/ping.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/ping.8.html>.
|
||||
|
||||
- Ping 指定的主机:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 配置 macOS 电源管理设置,就像在系统首选项 > 节能程序中一样。
|
||||
> 修改设置的命令必须以 `sudo` 开头。
|
||||
> 更多信息:<https://ss64.com/osx/pmset.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/pmset.1.html>.
|
||||
|
||||
- 显示当前电源管理设置:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# qlmanage
|
||||
|
||||
> QuickLook 服务器工具。
|
||||
> 更多信息:<https://ss64.com/osx/qlmanage.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/qlmanage.1.html>.
|
||||
|
||||
- 快速显示一个或多个文件:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# reboot
|
||||
|
||||
> 重启系统。
|
||||
> 更多信息:<https://ss64.com/osx/reboot.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/reboot.8.html>.
|
||||
|
||||
- 立刻重启:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 手动操作路由表。
|
||||
> 需要 root 权限。
|
||||
> 更多信息:<https://www.manpagez.com/man/8/route/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/route.8.html>.
|
||||
|
||||
- 通过网关向目标添加路由:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# say
|
||||
|
||||
> 将文本转换为语音。
|
||||
> 更多信息:<https://ss64.com/osx/say.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/say.1.html>.
|
||||
|
||||
- 大声说出一个句子:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 管理系统配置参数。
|
||||
> 设置配置时必须是 root 权限。
|
||||
> 更多信息:<https://ss64.com/osx/scutil.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/scutil.8.html>.
|
||||
|
||||
- 显示 DNS 配置:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# shuf
|
||||
|
||||
> 生成随机排列。
|
||||
> 更多信息:<https://www.unix.com/man-page/linux/1/shuf/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/shuf.1.html>.
|
||||
|
||||
- 随机化文件中的行顺序并输出结果:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# shutdown
|
||||
|
||||
> 关闭并重新启动系统。
|
||||
> 更多信息:<https://ss64.com/osx/shutdown.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/shutdown.8.html>.
|
||||
|
||||
- 立即关机:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 苹果的处理文件脚本系统。
|
||||
> 光栅 / 查询图像 和 颜色同步 ICC 配置文件。
|
||||
> 更多信息:<https://ss64.com/osx/sips.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/sips.1.html>.
|
||||
|
||||
- S 指定一个输出目录,这样原始文件就不会被修改:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# softwareupdate
|
||||
|
||||
> 通过命令行更新 macOS 应用商店中应用程序的工具。
|
||||
> 更多信息:<https://ss64.com/osx/softwareupdate.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/softwareupdate.8.html>.
|
||||
|
||||
- 列出所有可用的更新:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# split
|
||||
|
||||
> 把一个文件拆分成几块。
|
||||
> 更多信息:<https://ss64.com/osx/split.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/split.1.html>.
|
||||
|
||||
- 分割一个文件,每个分割部分有 10 行(除了最后一个):
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# stat
|
||||
|
||||
> 显示文件状态。
|
||||
> 更多信息:<https://ss64.com/osx/stat.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/stat.1.html>.
|
||||
|
||||
- 显示文件属性,如大小、权限、创建和访问日期等:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# sw_vers
|
||||
|
||||
> 打印 macOS 操作系统的版本信息。
|
||||
> 更多信息:<https://ss64.com/osx/sw_vers.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/sw_vers.1.html>.
|
||||
|
||||
- 打印所有可用信息(操作系统名称、版本号和构建版本):
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# sysctl
|
||||
|
||||
> 访问内核状态信息。
|
||||
> 更多信息:<https://ss64.com/osx/sysctl.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/sysctl.8.html>.
|
||||
|
||||
- 显示所有可用变量及其值:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# system_profiler
|
||||
|
||||
> 报告系统硬件和软件配置。
|
||||
> 更多信息:<https://ss64.com/osx/system_profiler.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/system_profiler.8.html>.
|
||||
|
||||
- 显示可由 System Profiler.app 打开的完整系统资源报告:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# textutil
|
||||
|
||||
> 用于操作各种格式的文本文件。
|
||||
> 更多信息:<https://ss64.com/osx/textutil.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/textutil.1.html>.
|
||||
|
||||
- 显示有关 `foo.rtf` 的信息:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# top
|
||||
|
||||
> 显示运行进程的动态实时信息。
|
||||
> 更多信息:<https://ss64.com/osx/top.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/top.1.html>.
|
||||
|
||||
- 执行 top 命令,界面中提供所有选项:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 打印当前计算机及其上运行的操作系统的详细信息。
|
||||
> 注意:有关操作系统的其他信息,请尝试使用 `sw-vers` 命令。
|
||||
> 更多信息:<https://ss64.com/osx/uname.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/uname.1.html>.
|
||||
|
||||
- 打印内核名称:
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
> 显示谁登录以及他们在做什么。
|
||||
> 打印用户登录、tty、远程主机、登录时间、空闲时间、当前进程。
|
||||
> 更多信息:<https://ss64.com/osx/w.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/w.1.html>.
|
||||
|
||||
- 显示登录用户信息:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# xattr
|
||||
|
||||
> 用于扩展文件系统属性的实用程序。
|
||||
> 更多信息:<https://ss64.com/osx/xattr.html>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/xattr.1.html>.
|
||||
|
||||
- 列出 键:值 列表,显示指定文件的值扩展属性:
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# xed
|
||||
|
||||
> 用 Xcode 打开要编辑的文件。
|
||||
> 更多信息:<https://www.manpagez.com/man/1/xed/>.
|
||||
> 更多信息:<https://keith.github.io/xcode-man-pages/xed.1.html>.
|
||||
|
||||
- 用 Xcode 打开文件:
|
||||
|
||||
|
Reference in New Issue
Block a user