Getcwd returns the current working directory.
getcwd返回当前工作目录。
Shows you where you are--the current working directory.
显示你所在的地方——当前的工作目录。
The Dir class lists all of the files in the current working directory.
用Dir类列出当前工作目录的所有文件。
This will create a subdirectory called jzos in your current working directory.
这会在当前工作目录中创建一个名为 jzos 的子目录。
The default location of the dumps is the current working directory of the JVM process.
转储文件的默认位置是JVM进程的当前工作目录。
This example creates a copy of the Git maps project in your current working directory.
该示例在当前工作目录中创建一个Git地图项目副本。
PWD is your current working directory, while $OLDPWD is your previous working directory.
$PWD是您的当前工作目录,而 $OLDPWD 是上一次的工作目录。
These scripts expect the current working directory to be set to the Bootcontrol partition.
这些脚本期望将当前的工作目录设置成Bootcontrol分区。
Not supplying the name of a repository turns the current working directory into a repository.
如果不提供存储库名称,就会把当前的工作目录转换为存储库。
Relative paths are relative to your current working directory, as reported by the PWD command.
相对路径指的是相对于您的当前工作目录的路径,正如pwd命令报告的那样。
In this example, you'd check to see that the current working directory is the project directory.
在本例中,需要检查当前的工作目录是不是project目录。
Remember to include your current working directory in your path if you want to run a class in it.
如果要在当前工作目录中运行类,那么请记住,要将该目录包含在您的路径中。
If the current working directory is a network location, it will automatically map a drive letter for you.
如果当前目录是个网络位置,会自动映射一个驱动器字母。
Now we can see that we have changed the current working directory to /usr/X11R6/bin and that it is full of files.
现在,我们可以看到,我们已经把当前的工作目录,改变到/usr/X11R6/bin目录下,这个目录下包含很多文件。
Given an arbitrary file path from the current working directory, this API returns the absolute path name of the file.
在给定当前工作目录中任意文件路径的情况下,此api将返回该文件的绝对路径。
Suppose you want a script or function that operates on all files or perhaps directories in the current working directory.
假设您想要一个脚本或函数来操作当前工作目录中的所有文件或目录。
This command copies all text files in the current working directory to your home directory on the machine named destination.
这个命令将当前工作目录中所有的文本文件复制到您在名为 destination 的计算机上的home 目录中。
Of course, you could run the PWD command every time you need to check the current working directory, but there's a better way.
当然,每当您想检查当前工作目录时,您都可以运行pwd命令,但还有更好的方法。
For example, you could use Vim's built-in getcwd function to create an abbreviation for the current working directory, like so.
比如,可以使用Vim的内置getcwd函数为当前的工作目录创建缩写,如下所示。
Change the current working directory to the location of the RPG stub code. Issue the following command from the CL command line.
将当前工作目录更改为RPG存根代码的位置。
Because we're not passing a full path, this will be created as a subdirectory of the current working directory (if it does not already exist).
因为我们没有传递完整的路径,所以它会在当前目录下创建一个子目录(如果它还不存在的话)。
Just as you can execute programs from various directories in the system, so too can you change your current working directory using the CD command.
正如您可以从系统的不同目录中执行程序一样,您也可以使用cd命令来切换当前工作目录。
For example, to find the list of unique filenames in the folder hierarchy rooted at the current working directory, you can type the following at your shell prompt.
例如,要在当前工作目录下的文件夹层次结构中查找独特文件名的列表,您可在shell提示符下输入以下命令。
You may use absolute paths regardless of your current working directory, but you will probably use relative paths only when a command is close to your current directory.
不管您的当前工作路径是什么,您都可以使用绝对路径,但是只有在一个命令接近当前目录时,才有可能使用相对路径。
Instead of continuously using PWD and hostname, you can achieve the same effect by manipulating the prompt variable to reflect the current working directory and hostname.
不需要一直使用pwd和hostname,只需通过设置prompt变量让shell提示反映当前的工作目录和主机名,即可实现相同的效果。
The inner for loop enumerates all the files in the current working directory -- the wild card * (asterisk) matches everything -- and then tests whether each entry is a file.
内部的for 循环枚举当前工作目录中的所有文件——通配符 *(星号)匹配所有条目——然后测试每个条目是否为文件。
The CWD value refers to the application's current working directory, which is the directory that the application was started from, unless it has changed the directory itself.
cwd值表示应用程序的当前工作目录,这是该应用程序启动的目录,除非它本身对这个目录进行更改。
This example shows how the current working directory of an application is important, because it still holds a file resource and can prevent a file system from being unmounted.
这个示例说明了应用程序的当前工作目录非常重要,因为它仍保持着文件资源,并且可以防止文件系统被卸载。
It's a double-line prompt, giving me more room to write commands, and it offers me the current user logged in, the hostname, and the current working directory (after the colon).
这是一个两行的提示符,可以给我更多的空间来输入命令。 提示符中有当前登录的用户名、主机名、冒号后还有当前工作路径。
By the way, if you happen to use UNIX on the Macintosh, try the open command in a Terminal window. For instance, if the current working directory has a file named poodle.jpg.
顺便提一下,如果您在Macintosh中使用UNIX,那么可以在一个终端窗口中尝试open命令。
应用推荐