The cat filename command scrolls the text within the filename file.
猫档名指令在档名文件里面卷动文本。
You can solve that problem with cat file | head -c 1788 | tail -c 789.
可以使用cat file |head -c 1788 |tail - c 789来解决这一问题。
Therefore, cat file | tail -f will not work as expected, but tail -f file will.
因此,cat file |tail -f将不会得到所期望的结果,但tail - f file则可以。
Finally, explore the output using the cat file system operation through the hadoop utility (see Listing 11).
最后,通过hadoop实用工具使用cat文件系统操作来探索输出(请参考清单 11)。
The example in Figure 4 shows that there are four subunits (.cat files) referenced by the Rose model (.mdl) file.
图4中的实例显示出Rose模型(. mdl)文件所引用的四个子单元(. cat文件)。
This was fairly easy to do: we simply provided the developer with our latest *.cat file for the command gateway, and she reverse-engineered her code into the model.
这是相当容易完成的:我们简单的提供给开发人员我们最新的对于commandgateway 的 *.cat文件,并且逆向工程她的代码成为模型。
When you import subunits as packages, each of the subunits (.cat file) in Rational Rose will be imported as a separate model (.emx file with type set as package) to your Software Architect solution.
当您将子单元作为包导入时,RationalRose 中的每一个子单元(.cat文件)都会作为一个单独的模型(.emx 文件)导入到Software Architect 方案中。
The value "*all*" is used when the file can be used to translate in any direction -- from any language to any other language -- something that not all CAT tools can do.
如果文件可用于任何方向的翻译,则使用 "*all*",从一种语言到任何其他语言,并非所有CAT工具都能做到。
Cat显示完整的文件。
As shown in Listing 8, using the cat command without a file name simply echoes anything typed to standard input; the > redirection captures that to the specified file.
如 清单8 所示,使用不带文件名的cat命令只回显向标准输入键入的任何内容;>重定向将该输入捕获到指定的文件中。
This example also illustrates the use of - to signify standard input to cat, so we can concatenate the output of tr and the text2 file.
这一示例也解释了如何使用-表示cat的标准输入,因此我们可以将tr的输出与text2文件连接起来。
Note that the split file named yaa did not finish with a newline character, so our prompt was offset after we used cat to display it.
注意,名为yaa的分解文件并未使用换行符表示结束,因此当使用cat显示提示之后,会发现提示出现了偏移。
Use the cat (short for concatenate) command to display the contents of a file on stdout.
使用cat (concatenate的简写)命令显示文件在使用标准输出时的内容。
Since the file size is 1mb, the actual output of the cat secure_container command is not shown.
因为文件大小为1MB,这里没有给出cat secure_container命令的实际输出。
You can use sort to process more than one file at a time, and there are basically two ways to do it: you can use cat to concatenate them first, as in.
您可以使用sort来同时处理多个文件,这样做的方式基本上有两种:首先可以使用cat来并置它们,如下所示。
If you do have a filter that requires input from stdin, you might think of using the cat command to copy the file to stdout, which would work.
如果您有要求来自stdin的输出的过滤器,那么可以考虑使用cat命令将文件复制到 stdout。
In the first example, we use cat to read the file and output it to standard output, which is piped into the standard input of FMT.
在第一个例子里面,我们使用cat命令来读取文件的内容,然后将内容输送到标准输出,标准输出通过管道机制作为命令fmt的标准输入。
Save the code in Listing 1 above into a file named extractStates.pl and run the program with the command cat us_states.kml | perl extractStates.pl.
把上面的清单1中的代码保存到名为extractStates.pl 的文件中,并且用cat us_states.kml |perl extractStates.pl命令运行该程序。
If you're appending only a single line instead of multiple lines or an entire file, you can use echo instead of cat.
如果您仅追加单行而不是多行或整个文件,您可以使用echo而不是cat。
You cannot view the Shared memory files (commonly referred as SHM files) by using the cat utility generally used for file display in Linux since these SHM files are in a binary format.
在Linux系统中,您不能通过使用通常用于文件显示的cat实用工具来查看共享内存文件(常指的是shm文件),因为这些shm文件是以二进制的格式存储的。
For example, to see the command-line entry for init, simply cat the cmdline file.
例如,要查看init的command - line项的内容,只需对cmdline文件执行cat命令。
The latter will print the specified number of lines from the input stream made up of the files listed after the cat command, but treated as one single file.
后者将打印由cat命令后所列文件组成的输入流中指定行数的内容,但将把输入流作为单个文件对待。
There are two ways to display the lines in a file in reverse order: tac (the reverse of cat) and the command tail -r.
有两种方法可以逆序显示文件中的行:tac(将cat反过来)和tail - r命令。
Read Makefile (with cat or more or view) to find out where to go (the master distribution site) to get the file and what its name is.
使用cat或more或view阅读Makefile文件,确定去哪里(主分发站点)获取文件以及文件名。
You can use the cat command (after finding the particular output file) through the hadoop-0.20 utility to emit this data (see Listing 7).
找到输出文件之后,可以通过hadoop- 0.20实用程序使用cat命令查看数据(见清单7)。
This is absolutely unnecessary and a waste of time, because tools such as grep take file names as arguments. You simply do not need to use cat in this situation at all, as in the following example
这绝对是不必要的,纯粹是浪费时间,因为诸如grep 这样的工具接受文件名作为参数。
You can examine the contents of each key file using a text editor such as vi or emacs, or simply by using the less or cat commands.
要检查密钥文件的内容,可以使用诸如vi、emacs等文本编辑器,也可以使用less或cat命令。
When the output of cat is not redirected to a file or another command's standard input, cat behaves as most command-line tools and send its output to the console.
当cat的输出没有被重定向到一个文件或另一个命令的标准输出时,cat表现出来的行为与多数命令行工具一样,即将其输出发送到控制台。
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目录中。
With the job complete, inspect the output directory (to identify the results file), and then perform a file system cat operation to view its contents (see Listing 10).
作业完成之后,检查out put目录,找到结果文件,然后通过执行文件系统cat操作查看其内容(见清单10)。
应用推荐