|
8.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
alias 命令将给定 snap 应用别名为给定别名。
设置此手动别名后,只需使用别名即可调用相应的应用程序命令。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_alias.go:45
|
|
9.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
aliases 命令列出了系统中所有有效的别名和他们的状态。
$ snap aliases <snap>
只列出被特定 snap 定义的别名。
被标记为“未定义”的别名意味着它被显式启用或禁用,但是在当前版本的快照中没有被定义,可能是临时的(例如:一次回退导致)。他可以使用“snap alias --reset”清除。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_aliases.go:41
|
|
10.
|
|
|
The auto-import command searches available mounted devices looking for
assertions that are signed by trusted authorities, and potentially
performs system changes based on them.
If one or more device paths are provided via --mount, these are temporarily
mounted to be inspected as well. Even in that case the command will still
consider all available mounted devices for inspection.
Assertions to be imported must be made available in the auto-import.assert file
in the root of the filesystem.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
auto-import 命令搜索可用的已装载设备,查找由受信任的机构签名的 Assertion,并可能基于这些声明 执行系统更改。
如果通过 --mount 提供了一个或多个设备路径,那么也会临时安装这些路径以进行检查。即使在这种情况下,命令仍然会考虑所有可用的安装设备进行检查。
要导入的声明 必须在文件系统根目录下的 auto-import.assert 文件中可用。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_auto_import.go:231
|
|
11.
|
|
|
The buy command buys a snap from the store.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
buy 命令将会从商店中购买一个 snap
|
|
Translated by
Harry Chen
|
|
Reviewed by
Harry Chen
|
|
|
|
Located in
cmd/snap/cmd_buy.go:33
|
|
12.
|
|
|
The changes command displays a summary of system changes performed recently.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
changes 命令将会显示有关近期系统更改的摘要
|
|
Translated by
Harry Chen
|
|
Reviewed by
Harry Chen
|
|
|
|
Located in
cmd/snap/cmd_changes.go:35
|
|
13.
|
|
|
The check-snapshot command verifies the user, system and configuration
data of the snaps included in the specified snapshot.
The check operation runs the same data integrity verification that is
performed when a snapshot is restored.
By default, this command checks all the data in a snapshot.
Alternatively, you can specify the data of which snaps to check, or
for which users, or a combination of these.
If a snap is included in a check-snapshot operation, excluding its
system and configuration data from the check is not currently
possible. This restriction may be lifted in the future.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_snapshot.go:76
|
|
14.
|
|
|
The confinement command will print the confinement mode (strict,
partial or none) the system operates in.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
confinement 命令将会打印当前系统处在的隔离模式 (严格、部分或无)。
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_confinement.go:31
|
|
15.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_connect.go:37
|
|
16.
|
|
|
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
|
|
Translated by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_connections.go:42
|
|
17.
|
|
|
The console-conf-start command starts synchronization with console-conf
This command is used by console-conf when it starts up. It delays refreshes if
there are none currently ongoing, and exits with a specific error code if there
are ongoing refreshes which console-conf should wait for before prompting the
user to begin configuring the device.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
console-conf-start命令启动了和console-conf的同步
此命令用于console-conf的启动。如果当前没有正在进行的刷新,则会延迟刷新;如果正在进行刷新,则会以特定的错误代码退出。在提示用户开始配置设备之前,console-conf应等待该刷新。
|
|
Translated by
yuzhe
|
|
Reviewed by
Luke Na
|
|
|
|
Located in
cmd/snap/cmd_routine_console_conf.go:40
|