Re: 問題ID: 29006
arashi1977
居住地: 広島
投稿数: 1715
引用:ですよねぇ、でもmanやコマンドヘルプでもはっきりしてないみたいです。
コマンドラインヘルプ
manでみると
統一してくれよ… orz
addr、route、neighの削除オプションは
「delete」ではなく「del」ではないでしょうか?
コマンドラインヘルプ
# ip address help
Usage: ip address {add|change|replace} IFADDR dev IFNAME [ LIFETIME ]
[ CONFFLAG-LIST ]
ip address del IFADDR dev IFNAME [mngtmpaddr] ←ここ
# man ip-address
IP-ADDRESS(8) Linux IP-ADDRESS(8)
NAME
ip-address - protocol address management
SYNOPSIS
ip [ OPTIONS ] address { COMMAND | help }
ip address { add | change | replace } IFADDR dev IFNAME [ LIFETIME ] [ CONFFLAG-LIST ]
ip address del IFADDR dev IFNAME [ mngtmpaddr ] ←delか?
(略)
ip address delete - delete protocol address ←ここでは「delete」
Arguments: coincide with the arguments of ip addr add. The device name is a required argument. The
rest are optional. If no arguments are given, the first address is deleted.
(略)
EXAMPLES
(略)
ip address delete 2001:0db8:85a3::0370:7334/64 dev eth1 ←実行例でもdelete!
Delete the IPv6 address added above.
投稿ツリー
-
問題ID: 29006
(crazydiamond, 2019-12-20 11:04)
- Re: 問題ID: 29006 (arashi1977, 2019-12-20 11:31)
- Re: 問題ID: 29006 (crazydiamond, 2019-12-20 11:51)