为了做到这一点,要使用路径名,有时就在当前目录。
To do that, you use pathnames and, sometimes, the current directory.
ENOTDIR:指定的路径名必须为目录,但却不是。
ENOTDIR — The specified path name needs to be a directory, but it isn't.
从shell提示,您可以显示您所在的目录的路径名,方法是运行命令pwd,如清单1所示。
From a shell prompt, you can display the path name of the directory you're in by running the command PWD, shown in Listing 1.
应用推荐