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 { link } from 'iproute';
Show link information about the eth0
device
const links = await link.show({
dev: 'eth0'
});
Shortcut to show all links
const links = await link.show();
const links = await link.show({});
Generated using TypeDoc
Display device attributes.