Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GetIP

Get the IP for the specified interface.

Building

make

Usage

./getip interface

E.g.

$ ./getip eth0
192.168.1.100
$

Alternatively, you can attempt to run getip.c directly as a script. It will be compiled and stored in your $TMPDIR, only recompiling when it has been changed or is absent.

./getip.c

License

To the extent possible under law, @colindean has waived all copyright and related or neighboring rights to getip.

About

A quick tool for getting the IP address for a specified interface

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages