Parameters options to be passed down to ip
.
Global parameters options that affects the command execution.
ParametersError - Throws when passed parameters are invalid.
CommandError - Throws when the executed command fails.
Import module
import { address } from 'iproute';
Show only eth0
device addresses
const addresses = await address.show({
dev: 'eth0'
});
Show all addresses
const addresses = await address.show();
const addresses = await address.show({});
Generated using TypeDoc
Look at protocol addresses.