-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgetifaddrs.1
More file actions
34 lines (33 loc) · 980 Bytes
/
getifaddrs.1
File metadata and controls
34 lines (33 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.\" Process this file with
.\" groff -man -Tascii getifaddrs.1
.\"
.\" http://www.schweikhardt.net/man_page_howto.html
.\" Gosh, man pages are ugly...
.TH GETIFADDRS 1 "JULY 2014" "Josh Oldenburg" "Josh's Utilities"
.SH NAME
getifaddrs \- get IP addresses, in a parseable format
.SH SYNOPSIS
.B getifaddrs [-q] [
.I interface
.B ]
.SH DESCRIPTION
.B getifaddrs
outputs the IP addresses for the system. It shows all
interfaces by default. Internally, it uses
.BR getifaddrs (3)
to get the addresses. Passing a nonexistant interface
does not error but does not output anything.
.SH OPTIONS
.IP -q
Output only the addresses
.IP interface
Display only the address(es) of the specified interface.
.SH BUGS
None? Is that even possible? Surely someone will find something.
Please report bugs at https://github.com/JoshTheGeek/ipaddrutil
.SH AUTHOR
Josh Oldenburg @ http://joshuaoldenburg.com
https://github.com/JoshTheGeek/ipaddrutil
.SH "SEE ALSO"
.BR getifaddrs (3),
.BR ifconfig (1)