F21 - Refreshing DHCP lease on ethernet
poma
pomidorabelisima at gmail.com
Thu Jan 22 16:23:05 UTC 2015
On 22.01.2015 16:41, Mike Wright wrote:
>
>
> On 01/22/2015 06:45 AM, Robert Moskowitz wrote:
>> 01/22/2015 09:32 AM, Paul Cartwright wrote:
>>> ok so now "ip addr list" takes the place of ifconfig, gee 3 words to
>>> replace one.. that's progress:)
>>>
>> For this one.
>>
>> ip addr
>>
>> works just as well. One less character than ifconfig!
>>
> ip takes abreviations:
>
> ip a -> addresses (all devices)
> ip l -> link info (all devices)
OK
> ip a dev ethX (one device)
# ip a dev lo
Command "dev" is unknown, try "ip addr help".
# ip a s lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
> ip l dev ethX (one device)
# ip l dev lo
Command "dev" is unknown, try "ip link help".
# ip l sh lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
More information about the users
mailing list