`multipass unalias` command

[since version 1.8.0]

The multipass unalias command removes an alias previously added with alias. Removing an alias is done with:

$ multipass unalias name

This will remove the given alias name, erroring out if the alias was not defined. Note that if an instance is removed and purged, it is not necessary to run unalias for the aliases defined on that instance, because they are automatically removed.

Multipass 1.10.0 introduces multiple aliases removal with one command:

$ multipass unalias name1 name2 name3

and the argument --all, to remove all the defined aliases:

$ multipass unalias --all
`multipass help unalias` explains the available options:

```plain
$ multipass help unalias
Usage: multipass unalias [options] <name> [<name> ...]
Remove aliases

Options:
  -h, --help     Displays help on commandline options.
  --help-all     Displays help including Qt specific options.
  -v, --verbose  Increase logging verbosity. Repeat the 'v' in the short option
                 for more detail. Maximum verbosity is obtained with 4 (or more)
                 v's, i.e. -vvvv.
  --all          Remove all aliases

Arguments:
  name           Names of aliases to remove

See also


Last updated 1 year, 3 months ago.