LXC.ALIAS.ADD(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸŽ€ LXC.ALIAS.ADD β€” okay bestie, let's talk aliases πŸŽ€

So this is a page from the LXD - Command line client manual (that's the manual name, iykyk β€” section (1), command line client vibes πŸ’…). Pull up a chair, we're adding aliases today.


✨ NAME ✨

lxc-alias-add β€” the girlie that adds new aliases, no cap 🫢


🌸 SYNOPSIS 🌸

lxc alias add   [flags]

That's it. That's the whole flex. ✨


πŸ’– DESCRIPTION πŸ’–

Here's the tea, straight from the description section:

Add new aliases πŸ”₯

Literally that's what it does. You want a new alias? Boom. Added. Main character energy. πŸ‘‘


πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

Ok so these aren't even, like, her own flags β€” they're inherited from the parent commands, which is giving "borrowed the hoodie and never gave it back" energy. But they work, so we love them πŸ’œ

  • --debug[=false] β€” show all the debug messages 😭 (all of them. every last one. it's a lot.)
  • --force-local[=false] β€” force using the local unix socket πŸ”Œ like, no negotiation, local only
  • -h, --help[=false] β€” print help πŸŽ€ the classic. the icon.
  • --project="" β€” override the source project`` 🌈 (yep, that's the text exactly as written, trailing backticks and all β€” don't come for me, I just report what the page says πŸ’€)
  • -q, --quiet[=false] β€” don't show progress information 🀫 silence is golden
  • --sub-commands[=false] β€” use with help or --help to view sub-commands 🧚 so you can see the whole family tree
  • -v, --verbose[=false] β€” show all information messages πŸ—£οΈ she talks. a lot. and we listen.
  • --version[=false] β€” print version number ⭐ gotta know what you're running
Every single one of these defaults to false, bestie. Write that down. πŸ“

🌈 EXAMPLE 🌈

The example section ate and left no crumbs:

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

So you're literally overwriting the list command so it always passes -c ns46S πŸ”₯ iconic behavior honestly, that's how you make the tool work for you. 🫢


πŸ’… SEE ALSO πŸ’…

  • lxc-alias(1) β€” go read the whole alias family, iykyk ✨

⭐ HISTORY ⭐

22-Aug-2026 β€” Auto generated by spf13/cobra πŸ¦‹ she was born from a generator, and honestly? relatable. 🌸


πŸ’œ And that's the page!! Every flag, every default, every path, every example β€” all present and accounted for. Nothing skipped, nothing invented. Periodt. πŸ’€βœ¨

Later bestie!! This cutie of a page was Auto generated by spf13/cobra, dated Aug 2026, and it belongs to LXD - Command line client(1) β€” mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from