When I use CD in scripts, I always verify that the change directory has worked before continuing with the next command.
当我在脚本中使用cd时,我总是验证更改目录命令有效后才继续下一条命令。
The -c option forces the receiving tar to change directory to stuff (in your remote home directory) before it begins any processing.
c选项强迫接收方的tar在开始进行任何处理之前,将目录更改到stuff(在远程home目录中)。
To verify the operation of PHP and your Web server, change directory to ~/Sites/ and create the file info.php with the following contents
为了检验PHP和Web服务器的运行是否正常,进入 ~/Sites/目录并创建包含以下内容的info.php 文件
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(显示出文件和目录)。
You can then change directory to your copy of the maps project and use the commands discussed earlier to begin working with the files in that project in Git.
您可以将目录更改为地图项目副本,并使用之前讨论的命令在Git中开始处理该项目中的文件。
By placing the above two components into parentheses, they are effectively treated as one command, rather than two, with the change directory command occurring before the archive is extracted.
通过使用圆括号将上面的两个部分括起来,可以有效地将它们作为一个而不是两个命令来处理,并且cd命令在提取存档之前进行。
By placing the above two components into parentheses, they are effectively treated as one command, rather than two, with the change directory command occurring before the archive is extracted.
通过使用圆括号将上面的两个部分括起来,可以有效地将它们作为一个而不是两个命令来处理,并且cd命令在提取存档之前进行。
应用推荐