← 返回命令列表

Linux command

vagrant-global-status 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show all VMs

vagrant global-status

Prune invalid entries

vagrant global-status --prune

说明

vagrant global-status lists all Vagrant environments on the system. Shows VM ID, name, provider, state, and directory. IDs can be used to control VMs from any directory.

参数

--prune
Remove invalid entries.

FAQ

What is the vagrant-global-status command used for?

vagrant global-status lists all Vagrant environments on the system. Shows VM ID, name, provider, state, and directory. IDs can be used to control VMs from any directory.

How do I run a basic vagrant-global-status example?

Run `vagrant global-status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --prune do in vagrant-global-status?

Remove invalid entries.