For example, you can append information directly to a remote file by piping the output from the command to an SSH on a remote host (see Listing 7).
例如,您可以直接将信息附加到远程文件,方法是通过管道将输出从命令传输到远程主机上的SSH(请参见清单7)。
Need to do the same thing but append to an existing file instead of creating a new one?
需要执行相同操作,但是附加到现有文件而不是创建新文件。
Using the option -b (to specify the BAR file name), you can modify the target BAR file name and append a version number to it.
使用- b选项(用于指定BAR文件名称),您可以修改目标BAR文件的名称,并在其上追加一个版本号。
Because you'll be able to write to the file, not append, the file will be truncated.
因为能够写入文件,而不是添加,所以文件会被截断。
Listing 5 shows some more customizations you can append to your existing Emacs initialization file.
清单5显示了您可以附加到现有Emacs初始化文件中的更多定制。
Then it executes a couple of find commands to search the file system for files that match a pattern and to append them to the TempList.
然后它执行两个find命令来搜索文件系统中匹配某个模式的文件,并将它们附加到TempList。
File to a file called authorized_keys, which is stored in each remote machine's.ssh directory. We can use a text editor or simply use the cat command to append the offsite.pub.
现在,登录到每个机器并将offsite . pub文件的内容附加到名为authorized_keys文件中,该文件存储在每个远程机器的.ssh目录中。
You would do this if the application is responsible for using a unique name and if the application will append further records to the file.
如果应用程序负责使用唯一名称且应用程序会进一步向文件追加记录,您将使用此方法。
You could just append the log message to the correct text file, but you would have to duplicate the log information style.
您可以只是将日志消息附加到恰当的文本文件,但是您必须得套用日志信息格式。
You need to append the public key file contents to each machine you want to log in to automatically.
您需要将这个公钥文件的内容追加到您希望自动地进行登录的每台计算机。
This means that you can run the data collection, and then immediately open a PMR and append the output file to it.
这意味着,可以运行数据收集然后直接打开P MR,即可将输出文件附加到此pmr。
The recommended approach is to append the source control version number to the flow name when adding it to the BAR file.
推荐做法是在将流添加到BAR文件中时,将源控制版本号追加到流名称中。
附加到现有日志文件。
This is reported by Reset, Rewrite, Append, Rename and Erase, if you call them with an unassigned file as a parameter.
这被复置报告,重写,附加,重新命名而且抹掉,如果你用如一个叁数的一个被不分配的文件打电话给他们。
This example then closes the file and reopens it using the read and append mode, "r + a".
然后这个示例关闭文件,并用读取和添加模式“r + a ”重新打开文件。
This technique comes in handy when you want to append a block of text at a particular place in a file.
当您希望在文件中的特定位置追加文本块时,此项技术就会派上用场。
Listing 9. Quickly append to a file.
清单9.快速向文件附加内容。
You can use the file object to read data, to write data, to append data to a file, and to work with either binary or textual data.
可以用file对象读取数据、写入数据或把数据添加到文件,以及处理二进制或文本数据。
properties, and append the following lines to the end of the file.
并且在文件末尾添加如下行。
The snap alias USES redirection to append the output of a command to a file.
snap别名使用重定向将命令的输出附加到文件中。
You can use the $ notation for the last line to specify to the end of the file and double greater-than symbols (>>) after the w to indicate that you want to append to rather than overwrite the file.
对于最后一行,可以使用 $表示文件的末尾。 可以在w 后面使用两个大于号(>>)表示希望把内容附加到文件中而不是覆盖文件。
If you need to append data to a file, you should use the append mode when creating the file object.
如果需要向文件中添加数据,应当在创建file对象时,使用添加模式。
The <dau:appendParams> tag is used in the xhr.tag file to append the request parameters to the url variable if method is GET, or to the body variable if method is POST.
<dau:appendParams>标记用于 xhr.tag文件以便向url变量追加请求参数(如果method 为GET)或向body 变量追加请求参数(如果 method 为 POST)。
The nohup command is used to start a command that will ignore hangup signals and will append stdout and stderr to a file.
nohup命令用于启动一个忽略hangup信号的命令,并且将stdout和stderr附加到文件。
tells the print command to append each username one after another to a file only.
告诉打印命令仅将每个用户名依次追加到一个文件中。
Open file ${was_home}/lib/app/config/services/PortletServiceRegistryService.properties, append the following lines to the end of the file.
打开文件 ${was_home}/lib/app/config/services/PortletServiceRegistryService.properties,在文件的末尾添加如下行。
Append additional data to the file object.
在文件对象中附加上其他数据。
Note: Use APPEND to avoid deleting the existing content of the file.
注意:使用APPEND避免删除文件的现存内容。
If the file you're compiling to doesn't have an extension, you must append a period (.) to the end of the filename.
如果你的源文件确实没有扩展名,你需要在文件名的末尾添加(。)。
Data for a number of common fluids are available in the required format so that the user may append this data to their input file.
许多普通流体的数据,在必需的格式下是有效的,所以用户也许添加这些数据至输入文件。
应用推荐