Restore hosts file content from a backup file.
Reads from a file and replace the content of your hosts file.
WARNING: the complete hosts file will be overwritten with the backup data.
hostctl restore [flags]
--from string The file to restore from
-h, --help help for restore
-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 guumaster on July 20, 2020 at 20:50 +0200