diff options
author | allanjude <allanjude@FreeBSD.org> | 2014-05-27 20:45:15 +0000 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2014-05-27 20:45:15 +0000 |
commit | f7278db038b7a0c6b9d89751631c4a5deebabfba (patch) | |
tree | 40f67727532e48e7a266820ce1acc5754a6a8a14 /sbin/ifconfig | |
parent | c6cc2a05339e79ddbeeb5401c00343e3a81ac8e6 (diff) | |
download | FreeBSD-src-f7278db038b7a0c6b9d89751631c4a5deebabfba.zip FreeBSD-src-f7278db038b7a0c6b9d89751631c4a5deebabfba.tar.gz |
improve ifconfig(8) man page by describing special behaviour of -l ether
PR: docs/187644
Submitted by: Andrew Merenbach (original patch)
Approved by: bcr (mentor)
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 8116cb7..622ec2f 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -169,6 +169,18 @@ and .Dq lladdr are synonyms for .Dq link . +When using the +.Fl l +flag, the +.Dq ether +address family has special meaning and is no longer synonymous with +.Dq link +or +.Dq lladdr . +Specifying +.Fl l Dq ether +will list only ethernet interfaces, excluding all other interface types, +including the loopback interface. .It Ar dest_address Specify the address of the correspondent on the other end of a point to point link. @@ -2554,6 +2566,11 @@ The .Fl l flag may be used to list all available interfaces on the system, with no other additional information. +If an +.Ar address_family +is specified, only interfaces of that type will be listed. +.Fl l Dq ether +will list only ethernet adapters, excluding the loopback interface. Use of this flag is mutually exclusive with all other flags and commands, except for .Fl d |