Versatile networking shell scripts with gethostbyname() and ip_route_addr().
Overview
Section titled “Overview”Sometimes when writing test scripts in shell script I want to perform some networking functionality. Instead of hard coding this values I’ll parameterize them or read them from a .env (dotenv) file.
