Show Table of Contents
5.2. 通配符
在搜索查询中可以使用星号作为通配符。
例 5.1. 在搜索查询中使用通配符
[RHEVM shell (connected)]# list vms --query "name=vm*"
这个查询的结果将包括所有名称以
vm 开头的虚拟机,如 vm1、vm2、vma 和 vm-webserver。
例 5.2. 在搜索查询中使用通配符
[RHEVM shell (connected)]# list vms --query "name=v*1"
这个查询的结果将包括所有名称以
v 开头并以1 结束的虚拟机,如 vm1、vr1 和 virtualmachine1。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.