hostctl
list
Shows a detailed list of profiles on your hosts file.
Shows a detailed list of profiles on your hosts file with name, ip and host name. You can filter by profile name.
The “default” profile is all the content that is not handled by hostctl tool.
hostctl list [profiles] [flags]
-h, --help help for list
-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 Sven Luijten on August 20, 2023 at 10:27 +0200
Content