disable

hostctl disable

Disable a profile from your hosts file.

Synopsis

Disable a profile from your hosts file without removing it. It will be listed as “off” while it is disabled.

hostctl disable [profiles] [flags]

Options

      --all             Disable all profiles
  -h, --help            help for disable
      --only            Enable all other profiles
  -w, --wait duration   Enables a profile for a specific amount of time (default -1ns)

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)

SEE ALSO

  • hostctl - Your dev tool to manage /etc/hosts like a pro

Auto generated by spf13/cobra


Last updated by Sven Luijten on August 20, 2023 at 10:27 +0200