a2dismod to avahi-browse: add Chinese translation (#5246)

This commit is contained in:
千玄子 2021-05-02 02:43:23 +08:00 committed by GitHub
parent 9ccc49d98f
commit 92f09753c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
26 changed files with 463 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# a2disconf
> 在基于 Debian 的操作系统上禁用 Apache 配置文件.
> 更多信息: <https://manpages.debian.org/buster/apache2/a2disconf.8.en.html>.
> 更多信息: <https://manpages.debian.org/latest/apache2/a2disconf.8.html>.
- 禁用配置文件:

View File

@ -0,0 +1,12 @@
# a2dismod
> 在基于 Debian 的操作系统上禁用 Apache 模块。
> 更多信息:<https://manpages.debian.org/latest/apache2/a2dismod.8.html>.
- 禁用模块:
`sudo a2dismod {{模块路径}}`
- 不显示信息性消息:
`sudo a2dismod --quiet {{模块路径}}`

View File

@ -0,0 +1,12 @@
# a2dissite
> 在基于 Debian 的操作系统上禁用 Apache 虚拟主机。
> 更多信息:<https://manpages.debian.org/latest/apache2/a2dissite.8.html>.
- 禁用虚拟主机:
`sudo a2dissite {{虚拟主机名}}`
- 不显示信息性消息:
`sudo a2dissite --quiet {{虚拟主机名}}`

View File

@ -0,0 +1,12 @@
# a2enconf
> 在基于 Debian 的操作系统上启用 Apache 配置文件。
> 更多信息:<https://manpages.debian.org/latest/apache2/a2enconf.8.html>.
- 启用配置文件:
`sudo a2enconf {{配置文件}}`
- 不显示信息性消息:
`sudo a2enconf --quiet {{配置文件}}`

12
pages.zh/linux/a2enmod.md Normal file
View File

@ -0,0 +1,12 @@
# a2enmod
> 在基于 Debian 的操作系统上启用 Apache 模块。
> 更多信息:<https://manpages.debian.org/latest/apache2/a2enmod.8.html>.
- 启用模块:
`sudo a2enmod {{模块名}}`
- 不显示信息性消息:
`sudo a2enmod --quiet {{模块名}}`

View File

@ -0,0 +1,12 @@
# a2ensite
> 在基于 Debian 的操作系统上启用 Apache 虚拟主机。
> 更多信息:<https://manpages.debian.org/latest/apache2/a2ensite.8.html>.
- 启用虚拟主机:
`sudo a2ensite {{虚拟主机名}}`
- 不显示信息性消息:
`sudo a2ensite --quiet {{虚拟主机名}}`

24
pages.zh/linux/a2query.md Normal file
View File

@ -0,0 +1,24 @@
# a2query
> 在基于 Debian 的操作系统上查看 Apache 运行配置。
> 更多信息:<https://manpages.debian.org/latest/apache2/a2query.1.html>.
- 列出启用的 Apache 模块:
`sudo a2query -m`
- 查看某个模块是否已安装:
`sudo a2query -m {{模块名}}`
- 列出已启用的虚拟主机:
`sudo a2query -s`
- 显示已启用的多进程模块:
`sudo a2query -M`
- 显示 Apache 版本:
`sudo a2query -v`

23
pages.zh/linux/ac.md Normal file
View File

@ -0,0 +1,23 @@
# ac
> 打印用户连接时长数据。
- 以小时为单位打印当前用户连接时间:
`ac`
- 以小时为单位打印所有用户连接时间:
`ac --individual-totals`
- 以小时为单位打印特定用户连接时间:
`ac --individual-totals {{用户名}}`
- 以小时为单位打印特定用户每天连接时间:
`ac --daily-totals --individual-totals {{用户名}}`
- 显示附加明细:
`ac --compatibility`

View File

@ -1,19 +1,19 @@
# add-apt-repository
> apt 仓库管理.
> apt 仓库管理
- 添加一个新的 apt 仓库:
- 添加一个新的 apt 仓库
`add-apt-repository {{指定仓库}}`
- 移除一个 apt 仓库:
- 移除一个 apt 仓库
`add-apt-repository --remove {{指定仓库}}`
- 添加一个仓库并更新缓存:
- 添加一个仓库并更新缓存
`add-apt-repository --update {{指定仓库}}`
- 允许从指定仓库下载源码:
- 允许从指定仓库下载源码
`add-apt-repository --enable-source {{指定仓库}}`

View File

@ -0,0 +1,9 @@
# addpart
> 将特定分区的存在告知 Linux 内核。
> 这个命令是 `add partition` ioctl 的简单封装。
> 更多信息:<https://manned.org/addpart>.
- 将特定分区的存在告知 Linux 内核:
`addpart {{设备名}} {{分区名}} {{起始点}} {{长度}}`

View File

@ -0,0 +1,15 @@
# addr2line
> 将二进制文件地址转换成文件名和行数。
- 显示可执行文件的指令地址对应源代码的文件名和行数:
`addr2line --exe={{可执行文件路径}} {{地址}}`
- 显示函数名、文件名和行数:
`addr2line --exe={{可执行文件路径}} --functions {{地址}}`
- 将 c++ 代码函数名符号重组:
`addr2line --exe={{可执行文件地址}} --functions --demangle {{地址}}`

11
pages.zh/linux/amixer.md Normal file
View File

@ -0,0 +1,11 @@
# amixer
> ALSA 声卡驱动程序的混合器。
- 增加 10% 的主音量:
`amixer -D pulse sset Master {{10%+}}`
- 降低 10% 的主音量:
`amixer -D pulse sset Master {{10%-}}`

View File

@ -0,0 +1,24 @@
# apache2ctl
> Apache HTTP web 服务器命令行管理工具。
> 基于 Debian 的操作系统自带该命令,基于 RHEL 的查看 `httpd`
- 启动 Apache 守护进程。如果已运行则发送一个消息:
`sudo apache2ctl start`
- 关闭 Apache 守护进程:
`sudo apache2ctl stop`
- 重启 Apache 守护进程:
`sudo apache2ctl restart`
- 检查配置文件语法:
`sudo apache2ctl -t`
- 列出已加载模块:
`sudo apache2ctl -M`

16
pages.zh/linux/aplay.md Normal file
View File

@ -0,0 +1,16 @@
# aplay
> ALSA 声卡驱动程序的命令行声音播放器。
> 更多信息:<https://manned.org/aplay>.
- 播放一个文件(会自动根据文件格式确定采样率、位深等):
`aplay {{文件路径}}`
- 以 2500 Hz 播放指定文件的前 10 秒:
`aplay --duration={{10}} --rate={{2500}} {{文件路径}}`
- 以 22050 Hzmono8-bitMu-Law 和 `.au` 格式来播放指定原始文件:
`aplay --channels={{1}} --file-type {{raw}} --rate={{22050}} --format={{mu_law}} {{文件路径}}`

View File

@ -0,0 +1,20 @@
# apport-bug
> 在 Ubuntu 上提交错误报告。
> 更多信息:<https://wiki.ubuntu.com/Apport>.
- 报告整个系统的错误:
`apport-bug`
- 报告某个软件包的错误:
`apport-bug {{包名}}`
- 报告某个可执行文件的错误:
`apport-bug {{可执行文件路径}}`
- 报告某个进程的错误:
`apport-bug {{PID}}`

View File

@ -0,0 +1,19 @@
# apt-add-repository
> 管理 apt 仓库。
- 添加一个 apt 仓库:
`apt-add-repository {{repository_spec}}`
- 移除一个 apt 仓库:
`apt-add-repository --remove {{repository_spec}}`
- 添加一个 apt 仓库之后更新包缓存:
`apt-add-repository --update {{repository_spec}}`
- 开启源码包:
`apt-add-repository --enable-source {{repository_spec}}`

View File

@ -0,0 +1,20 @@
# archlinux-java
> 提供 Java 环境设置功能的一个帮助脚本。
> 更多信息:<https://github.com/michaellass/archlinux-java-run>.
- 列出已安装的 Java 环境:
`archlinux-java status`
- 设置默认的 Java 环境:
`archlinux-java set {{java_environment}}`
- 取消默认的 Java 环境:
`archlinux-java unset`
- 自动设置默认的 Java 环境:
`archlinux-java fix`

View File

@ -0,0 +1,24 @@
# arecored
> ALSA 声卡驱动的声音录制器。
> 更多信息:<https://manned.org/aplay>.
- 以 "CD" 质量录制一段声音(录制结束以 Ctrl-C 停止):
`arecord -vv --format=cd {{路径/文件名.wav}}`
- 以 "CD" 质量录制 10 秒钟声音:
`arecord -vv --format=cd --duration={{10}} {{路径/文件名.wav}}`
- 录制一段声音并以 mp3 格式保存(录制结束以 Ctrl-C 停止):
`arecord -vv --format=cd --file-type raw | lame -r - {{路径/文件名.mp3}}`
- 列出所有的声卡和数字音频设备:
`arecord --list-devices`
- 允许交互式界面(例如使用空格键或回车键来播放或暂停):
`arecord --interactive`

View File

@ -0,0 +1,16 @@
# arithmetic
> 测试见到你的算术问题。
> 更多信息:<https://manpages.debian.org/bsdgames/arithmetic.6.html>.
- 开始算术测试:
`arithmetic`
- 指定一个或多个算术运算符来设计问题:
`arithmetic -o {{+|-|x|/}}`
- 指定范围。加法和乘法问题限定 0 到指定范围之间的数字,包含上区间。减法和除法问题限制结果和运算数字必须在 0 到指定范围之间:
`arithmetic -r {{7}}`

16
pages.zh/linux/ark.md Normal file
View File

@ -0,0 +1,16 @@
# ark
> KDE 归档工具。
> 更多信息: <https://docs.kde.org/stable5/en/kdeutils/ark/>.
- 将存档解压缩到当前目录:
`ark --batch {{存档名}}`
- 改变解压缩目录:
`ark --batch --destination {{解压缩目录路径}} {{存档名}}`
- 创建一个原本不存在的存档并向它添加文件:
`ark --add-to {{存档名}} {{文件1}} {{文件2}}`

36
pages.zh/linux/ascii.md Normal file
View File

@ -0,0 +1,36 @@
# ascii
> 显示 ASCII 字符的别名。
> 更多信息:<http://www.catb.org/~esr/ascii/>.
- 显示一个 ASCII 字符的别名:
`ascii {{a}}`
- 以较短和脚本友好模式显示 ASCII 字符的别名:
`ascii -t {{a}}`
- 显示多个 ASCII 字符的别名:
`ascii -s {{tldr}}`
- 显示十进制 ASCII 字符表:
`ascii -d`
- 显示十六进制 ASCII 字符表:
`ascii -x`
- 显示八进制 ASCII 字符表:
`ascii -o`
- 显示二进制 ASCII 字符表:
`ascii -b`
- 显示选项总结和整个 ASCII 字符表:
`ascii`

View File

@ -0,0 +1,33 @@
# asterisk
> 电话和交换(手机)服务器。
> 用于管理服务器自身和管理已经在运行的实例。
> 更多信息:<https://wiki.asterisk.org/wiki/display/AST/Home>.
- 重新连接一个正在运行的服务器,并打开 3 级的日志详细度:
`asterisk -r -vvv`
- 重新连接一个正在运行的服务器,执行一个命令,然后返回:
`asterisk -r -x "{{命令}}"`
- 显示 chan_SIP 客户端(手机):
`asterisk -r -x "sip show peers"`
- 显示激活的通话和频道:
`asterisk -r -x "core show channels"`
- 显示语音邮箱:
`asterisk -r -x "voicemail show users"`
- 终止一个频道:
`asterisk -r -x "hangup request {{频道 ID}}"`
- 重新载入 chan_SIP 设置:
`asterisk -r -x "sip reload"`

20
pages.zh/linux/auracle.md Normal file
View File

@ -0,0 +1,20 @@
# auracle
> 用来和 Arch Linux 用户仓库交互的命令行工具,这个仓库通常被称作 AUR。
> 更多信息:<https://github.com/falconindy/auracle>.
- 显示符合一个正则表达式的 AUR 包:
`auracle search '{{regular_expression}}'`
- 显示 AUR 包列表的包信息,包名以一个单独的空格分隔:
`auracle info {{package1}} {{package2}}`
- 显示 AUR 包列表的 `PKGBUILD` 文件(编译信息),包名以一个单独的空格分隔:
`auracle show {{package1}} {{package2}}`
- 显示已安装 AUR 包的更新:
`auracle outdated`

View File

@ -0,0 +1,35 @@
# authconfig
> 用于设置系统认证资源的命令行界面。
- 显示当前的配置(或空运行):
`authconfig --test`
- 设置服务器使用另一种不同的密码散列算法:
`authconfig --update --passalgo={{算法名}}`
- 启用 LDAP 认证:
`authconfig --update --enableldapauth`
- 关闭 LDAP 认证:
`authconfig --update --disableldapauth`
- 开启网络信息服务NIS
`authconfig --update --enablenis`
- 开启 Kerberos
`authconfig --update --enablekrb5`
- 开启 Winbind (活动目录)认证:
`authconfig --update --enablewinbindauth`
- 开启本地认证:
`authconfig --update --enablelocauthorize`

View File

@ -0,0 +1,19 @@
# autorandr
> 自动调节屏幕布局。
- 保存当前屏幕布局:
`autorandr -s {{配置文件名}}`
- 显示保存的配置:
`autorandr`
- 切换设置:
`autorandr -l {{配置文件名}}`
- 设置默认设置:
`autorandr -d {{配置文件名}}`

View File

@ -0,0 +1,17 @@
# avahi-browse
> 显示通过 mDNS/DNS-SD 暴露在本地网络的服务和主机。
> Avahi 与苹果设备的 Bonjour (Zeroconf) 兼容。
> 更多信息:<https://www.avahi.org/>.
- 列出本地网络中的所有服务和他们的地址与端口,忽略他们本地的地址和端口:
`avahi-browse --all --resolve --ignore-local`
- 列出所有的域名:
`avahi-browse --browse-domains`
- 只搜索一个特定的域名:
`avahi-browse --all --domain={{domain}}`