显示你所在的地方——当前的工作目录。
当您下次登录时,您的.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命令显示了当前的工作目录。
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.
在这一节,我会首先向你介绍三个命令: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).
应用推荐