Get IPv4 address of interface
go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vladimir Smagin 18609fff4a Изменить 'readme.md' 4 months ago
build/package fix 4 months ago
.gitignore add pipeline 4 months ago
Jenkinsfile fix 4 months ago
main.go import 4 months ago
readme.md Изменить 'readme.md' 4 months ago

readme.md

Usage

Get interface IP in bash script:

#!/bin/bash

ip=$(getip4 eth0)

echo "My IP ${ip}"

Install

Visit http://deb.blindage.org/ to get deb package or compile from source code.