2019-04-21 11:50:48 +08:00

28 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="xauth">xauth</h1>
<p>显示和编辑被用于连接X服务器的认证信息</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>xauth命令</strong> 用于显示和编辑被用于连接X服务器的认证信息。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">xauth(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-f不使用默认的认证文件而使用指定的认证文件
-q安静模式不打印未请求的状态信息
-v详细模式打印指定的各种操作信息
-i忽略认证文件锁定
-b执行任何操作终端认证文件锁定。</code></pre>
<h3 id="参数">参数</h3>
<ul>
<li>add添加认证条目到认证文件中</li>
<li>extract将指定的设备内容加入到指定的密码文件中</li>
<li>info显示授权文件相关信息</li>
<li>exit退出交互模式</li>
<li>list列出给定的显示设备的内容</li>
<li>merge合并多个授权文件内容</li>
<li>extract将指定设备内容写入指定的授权文件</li>
<li>nextrct将指定设备内容写入指定的授权文件</li>
<li>nmerge合并多个授权文件内容</li>
<li>remove删除指定显示设备的授权条目</li>
<li>source从指定文件读取包含xauth的内容指令。</li>
</ul>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->