As well as matching strings exactly, udev allows you to use shell-style pattern matching. There are 3 patterns supported.
不仅有字符串精确匹配,udev也允许你使用shell风格的模式匹配。
In case you're stuck for ideas or a project that just jumps out as a good way to use shell commands hasn't presented itself, I offer a few ideas here.
如果您没有头绪,或者一个项目非常适合使用shell命令,但不知道如何使用,那么我在这里提供一些见解。
Of course, you also have the full power of the Linux or UNIX commands such as sed or awk for more complex jobs, but you should also know how to use shell expansions.
当然,您仍然拥有Linux或UNIX命令(如sed或awk)的全部功能来执行更复杂的工作,但是您也应该了解如何使用shell扩展。
Shell scripts — When the wrapper you are building is particularly complex, a much better solution is to use a shell script that you can call in place of the original command.
外壳脚本——当您要构建的包装特别复杂时,更好的解决方案是使用外壳脚本,您可以代替原始命令调用这些脚本。
Pedants may quibble that only the DNA of the new beast was actually manufactured in a laboratory; the researchers had to use the shell of an existing bug to get that DNA to do its stuff.
空谈家们托辞,只有新型动物的DNA可以在实验室中被创造出来;研究者们需要使用现有的病菌样本来获取DNA以完成实验。
RSH tells rsync to use Secure Shell (SSH) to copy the files (for security).
r sh告诉rsync使用安全Shell (SSH)复制文件(出于安全考虑)。
Also, both scripts are careful to use the exec shell command, which replaces one program with another but does not create new processes.
而且,这两个脚本都要小心地使用exec外壳命令,这个命令用一个程序替代另一个程序,但是没有创建新进程。
To set an alias, use the built-in shell alias statement, specifying the required expansion in quotes.
要设置别名,请使用内置的外壳alias语句,并在引号中指定所需的展开形式。
Another alternative for copying directories between systems is to use the pipe solution shown in Listing 16, but then use a remote shell tool as the destination.
在系统之间进行目录复制的另一种方法是,使用清单16中所示的管道解决方案,但需要使用远程Shell工具作为目标。
You can even use an existing file as a template and use simple shell scripts and tools to generate fancy reports using ODF text files, spreadsheets, and so on.
甚至还可以使用已有的文件作为模板并使用简单的shell脚本和工具生成含有OD f文本文件、电子表格等格式的报表。
While color might be convenient for sighted people who can distinguish them, they are not much use to others, and certainly not much use to shell scripts or programs.
虽然颜色可能对能区分它们的视力正常人群很方便,但对其他人用处不大,当然对shell脚本或程序也用处不大。
To use a function within your bash shell script, you use the methods shown in Listing 26.
要想在bashshell脚本中使用函数,可以使用清单26 所示的方法。
To commands to use CSH and other C-shell compatible shells are.
对于csh和与c -shell兼容的其他shell,使用的命令是。
When I would get water, she’d tell me to use a coconut shell and not to dirty one of her glasses.
我想喝水,她就让我用椰子壳喝,不想让我弄脏她的哪个杯子。” 达芙妮这样说。
To combine topics and domains, use a shell DTD.
要结合主题和域,请使用外壳DTD。
The researchers hope to use their shell studies to reconstruct a record of environmental changes over the past several centuries.
研究者们希望通过对这些蛤蜊壳的研究来重建过去数个世纪的环境变迁纪录。
If you use another shell, modify the syntax accordingly.
如果使用另一种shell,请相应地修改语法。
Outside of the Mongo shell, you would use the update function in your applications to apply changes to existing data.
除了Mongoshell之外,您可以在应用程序中使用update函数来将更改应用到现有数据。
According to the keynote speaker, the next release of Ubuntu, 11.04, will use Unity shell as its default desktop interface.
通过主题报告的发言人了解到,下一版本的Ubuntu11.04将采用UnityShell作为其默认的桌面界面。
The more you use the shell, the more you can benefit from persisting your preferences in startup files.
您使用Shell 的次数越多,那么您就越能够从在启动文件中保存您的首选设置中获利。
If you use another shell, consult its documentation or man page for the names and processing order of its startup scripts.
如果您使用的是另一种Shell,可以参考它的文档或者手册页面,以获取关于它的启动脚本名字和处理顺序的信息。
Rather than writing scripts, users would use Groovy's shell.
不用编写脚本,用户使用的是Groovy 的shell。
You'll see how to use the shell under Restoring the image onto the virtual machine.
您将在将映像恢复到虚拟机中了解如何使用shell。
In the next section, you will learn how to use the MongoDB shell to create databases, collections, documents, and so on.
在下一节中,您将学习如何使用MongoDBshell来创建数据库、集合、文档等。
This tip shows you how to use Bash scripting, shell arithmetic, and ImageMagick to create a pixel ruler.
本文介绍如何使用Bash脚本、shell算法和ImageMagick创建一个像素标尺。
Which remote shell technology you use is entirely up to the shells available in your environment.
使用哪一种远程Shell技术,完全取决于您的环境中可以使用的Shell。
As we have SWT widgets inside our shell and we intend to use a gradient background on the shell itself, all the widgets need to be transparent.
由于我们的SWT组件在shell内部并且我们打算对shell本身使用渐变背景,所有的组件都必须是透明的。
But if you must use the shell and you can't limit the data that comes in, you need to escape every potential meta-character before sending it in a command to the shell.
但是如果您必须使用shell并且不能限制到达的数据,那么就需要在将命令中的字符发送到shell中之前对可能存在的每个元字符进行转义。
Configuring DB2 to use SSH as the remote shell utility.
配置DB2以使用ssh作为远程shell实用程序。
This assumes you're using a sh-family shell; in CSH, use setenv to set the environment variable CC.
这里假定您使用的是sh系列的shell;在csh中,用setenv来设置环境变量CC。
应用推荐