shell遍历根目录_efi shell 命令中如何返回上级目录和根目录?[通俗易懂]

shell遍历根目录_efi shell 命令中如何返回上级目录和根目录?[通俗易懂]下面是efishell的帮助信息。你对比看看吧(我看了下,这里的根是\符号)。ThiscommandcdchangesthecurrentworkingdirectorythatisusedbytheEFIShellenvironment.ConventionDescription.Referstothecurrentdir…

大家好,又见面了,我是你们的朋友全栈君。

下面是efi shell的帮助信息。你对比看看吧(我看了下,这里的根是 \ 符号)。

This command cd changes the current working directory that is used by the EFI Shell environment.

Convention Description

. Refers to the current directory.

.. Refers to the directory’s parent.

\ Refers to the root of the current driver mapping.

Examples:

* To change the current filesystem to the mapped fs0 filesystem:

Shell> fs0:

* To change the current directory to the parent directory (fs0:\):

fs0:\efi\> cd ..

* To change the current directory to ‘fs0:\efi\tools’:

fs0:\> cd efi\tools

* To change the current directory to the root of the current fs

(fs0):

fs0:\efi\tools\> cd \

fs0:\>

* To change volumes with cd will not work!! For example:

fs0:\efi\tools\> cd fs1:\ !!!! will not work !!!!

must first type fs1: then cd to desired directory

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

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/161998.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号