hostctl remove

Remove a profile from your hosts file.


Completely remove a profile content from your hosts file. It cannot be undone unless you have a backup and restore it.

If you want to remove a profile but would like to use it later, use ‘hosts disable’ instead.

hostctl remove [profiles] [flags]


      --all    Remove all profiles
  -h, --help   help for remove

Options inherited from parent commands

  -c, --column strings     Column names to show on lists. comma separated
      --host-file string   Hosts file path (default "/etc/hosts")
      --no-color           force colorless output
  -o, --out string         Output type (table|raw|markdown|json) (default "table")
  -q, --quiet              Run command without output
      --raw                Output without borders (same as -o raw)

Auto generated by spf13/cobra

Last updated by Márk Sági-Kazár on December 8, 2021 at 11:06 +0100