LinuxCommandLibrary

ifquery

queries network interface configuration

TLDR

Query interface config

$ ifquery [eth0]
copy
List configured interfaces
$ ifquery --list
copy
Show all options
$ ifquery --all [eth0]
copy
State file query
$ ifquery --state [eth0]
copy

SYNOPSIS

ifquery [options] interface

DESCRIPTION

ifquery queries network interface configuration. It reads /etc/network/interfaces and shows interface settings.
The tool is part of ifupdown package on Debian systems. It helps verify network configuration without changes.

PARAMETERS

INTERFACE

Network interface.
--list
List interfaces.
--all
Show all details.
--state
Query state file.
--allow CLASS
Filter by class.
--help
Display help information.

CAVEATS

Debian/Ubuntu specific. Part of ifupdown. Reads config only.

HISTORY

ifquery is part of ifupdown for Debian-style network configuration.

SEE ALSO

ifup(8), ifdown(8), interfaces(5)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community