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

15 lines
920 B
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="pwd">pwd</h1>
<p>绝对路径方式显示用户当前工作目录</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>pwd命令</strong> 以绝对路径的方式显示用户当前工作目录。命令将当前目录的全路径名称(从根目录)写入标准输出。全部目录使用<code>/</code>分隔。第一个<code>/</code>表示根目录最后一个目录是当前目录。执行pwd命令可立刻得知您目前所在的工作目录的绝对路径名称。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">pwd选项</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">--help显示帮助信息
--version显示版本信息。
</code></pre>
<h3 id="实例">实例</h3>
<pre><code class="language-bash">[root@localhost ~]# pwd
/root</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->