replace

hostctl replace

Replace content to a profile in your hosts file.

Synopsis

Reads from a file and set content to a profile in your hosts file. If the profile already exists it will be overwritten.

hostctl replace [profile] [flags]

Options

  -f, --from string   file to read
  -h, --help          help for replace
  -u, --uniq          only keep uniq domains per IP

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 guumaster on July 20, 2020 at 20:50 +0200