lxc alias add
Description: Add new aliases Synopsis: Description: Add new aliases Examples: Options inherited from parent commands: SEE ALSO: lxc alias- Manage command aliases.

Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# `lxc alias add`

Add new aliases

## Synopsis

Description: Add new aliases

    lxc alias add <alias> <target> [flags]

## Examples

      lxc alias add list "list -c ns46S"
          Overwrite the "list" command to pass -c ns46S.

## Options inherited from parent commands

          --debug          Show all debug messages
          --force-local    Force using the local unix socket
      -h, --help           Print help
          --project        Override the source project
      -q, --quiet          Don't show progress information
          --sub-commands   Use with help or --help to view sub-commands
      -v, --verbose        Show all information messages
          --version        Print version number

## SEE ALSO

- lxc alias - Manage command aliases