显示你所在的地方——当前的工作目录。
当您下次登录时,您的.profile 文件将作为登录流程的一部分执行,这将把工作目录显示为shell提示的一部分。
When you next log in, your .profile should execute as part of the login process, and this should display the working directory as part of the shell prompt.
您可以使用pwd命令显示当前工作目录的名称。
You can display the name of the current working directory with the PWD command.
这个pwd命令显示了当前的工作目录。
The PWD command displays the current working directory. The output on my computer at that moment in time was.
您看到了如何使用绝对路径和相对路径更改目录,如何显示所在的工作目录,以及如何在两个目录之间来回切换。
You saw how to change directories using the absolute path and the relative path, and you learned how to display the working directory you are in and toggle back and forth between two directories.
要显示出工作目录下的文件,用ls命令。
To list the files in the working directory, use the ls command.
在这一节,我会首先向你介绍三个命令:pwd(打印当前工作目录),cd(改变目录),还有ls(显示出文件和目录)。
In this lesson, I will introduce your first three commands: PWD (print working directory), CD (change directory), and ls (list files and directories).
在这一节,我会首先向你介绍三个命令:pwd(打印当前工作目录),cd(改变目录),还有ls(显示出文件和目录)。
In this lesson, I will introduce your first three commands: PWD (print working directory), CD (change directory), and ls (list files and directories).
应用推荐