虽然这个单命令行程序非常简单,但是它的缺点在于创建了一个新文件。
Although it's simple, the disadvantage of this one-liner is that it creates a new file.
当在电子邮件消息或usenet文章中使用时,前述单命令行程序将除去所有标头。
When used on E-mail messages or Usenet articles, the preceding one-liner strips out all headers.
通过从UNIX命令行运行单命令行程序,可以利用多种有意义和复合的方式(无需编辑器)对文本文件进行编辑。
Text files can be edited in significant and complex ways without an editor by running one-liners from the UNIX command line.
本文使用三个普遍存在的编辑工具,通过许多简单文本编辑单命令行程序阐述了这一概念:cat、ed和sed。
This article demonstrated the concept with many simple text editing one-liners using three of the most ubiquitous of editing tools: cat, Ed, and sed.
对于脚本中的特别单命令行程序,可以使用echo 将一组命令和文本管道传输给ed,从而以非交互式的方式使用它。
For ad hoc one-liners in scripts, use ed noninteractively by piping a group of commands and text to it with echo
注意:之所以在mkpprcpath命令内使用了一致性组选项是为了确保跨所有被镜像的磁盘有一个一致的单时间点副本。
Note that the consistency group option is used in the mkpprcpath command to ensure a consistent point-in-time copy across all disks that are being mirrored.
有些命令可有返回值,您可以通过使用returns属性将这个值赋给备忘单变量。
Some commands can have a return value, which you can assign to a cheat sheet variable using the returns attribute.
通过升级一些关键系统实用程序、安装新的2.4内核,并在每个文件系统上输入单条tune2 fs命令,就可以把现有的ext2服务器转换成日志记录ext3系统。
By upgrading a few key system utilities, installing a modern 2.4 kernel and typing in a single tune2fs command per filesystem, you can convert your existing ext2 servers into journaling ext3 systems.
也就是说,如果您在备忘单插件中开发您自己的备忘单行为和Eclipse命令,那么您就无法通过打开内容文件直接装载并使用它们。
That is, if you develop your own cheat sheet actions and Eclipse commands in your cheat sheet plug-in, you can't load and use them by simply opening the content file.
如果shell脚本的某一部分用单引号(也称为重单符)括起来,那么将执行这个部分并将结果放在该命令行内。
If any part of a shell command is enclosed by back quotes (a character also known as a grave accent), it is executed and the output placed on the command line.
通用自动命令和单文件适用的自动命令
这是一张备忘单的关机命令(有休眠、锁定、准备…),重启和注销。
This is a cheat sheet of commands for shutdown (hibernate, lock, stand by...), reboot and logoff.
如果在命令行而不是从一个批处理文件运行再改双百分比为单百分比。
If run from the command line instead of from a batch file then change the double percents to single percents.
己看到了,一台机器使用不同的命令,可在这一分种内计算机工资单,在下一分种开出账单。
You have seen that by using different instructions such a machine can process a payroll one minute and a billing application the next.
选择“工具”菜单中的“单变量求解”命令,可改变可变单元格的值而寻求目标单元格的最优解。
You can use the Goal Seek command on the Tools menu to reach a target value for one cell by changing the value in another cell.
单击“格式”菜单中的“单元格”命令,在“字体”选项卡的“下划线”下拉列表框中,选择“会计用单下划线”或“会计用双下划线 ”,可使活动单元格具有单下划线或 双下划线 格式。
To format the data in a cell with single or double underlining, click Cells on the Format menu, click the Font tab, and click Single Accounting or Double Accounting in the Underline box.
单击“格式”菜单中的“单元格”命令,在“字体”选项卡的“下划线”下拉列表框中,选择“会计用单下划线”或“会计用双下划线 ”,可使活动单元格具有单下划线或 双下划线 格式。
To format the data in a cell with single or double underlining, click Cells on the Format menu, click the Font tab, and click Single Accounting or Double Accounting in the Underline box.
应用推荐