<p>方法如下<br/></p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p><strong>方法一:</strong></p><p>1、例如点击终端。</p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p>2、然后输入【<strong>pwd</strong>】,显示当前所在的路径。</p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p>3、然后上级目录是根下面的home,那么返回上级目录,输入【<strong>cd /home</strong>】不要少了斜杠。</p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p>4、再次【<strong>pwd</strong>】一下,那么即可看到返回到home目录。</p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p><strong>方法二:</strong></p><p>1、或者是简单的,输入:<strong>cd</strong></p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p>2、输入上级目录替代【<strong>..</strong>】。</p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p><p>3、那么按下回车键,即可回到上一层。</p><p ><img src="https://cache.yisu.com/upload/information//303/.png" alt="linux如何使用命令返回上一级目录"></p>
讯享网

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/190532.html