Skip to contentSkip to conversation

please add some examples to the ip man page

DISCUSSION 積丹尼 Dan Jacobson 4 participants 8 messages Mar 7, 2017 – Mar 9, 2017

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
Quoted 2 lines · On Wed, 08 Mar 2017 03:10:32 +0800 積丹尼 Dan Jacobson <[email protected]> wrote:
$ man ip
should have some usage examples. Even one would be fine.

Sure. Submit a patch.

#3 lore raw
Quoted 5 lines · On Wed, 08 Mar 2017 08:46:01 +0800 積丹尼 Dan Jacobson <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"SH" == Stephen Hemminger <[email protected]> writes:

SH> Sure. Submit a patch.

If only I could figure out how to use the command.

$ ip link show
$ ip addr show
$ ip route
#4 lore raw
Quoted 7 lines · Stephen Hemminger
Quoted 4 lines · On Wed, 08 Mar 2017 08:46:01 +0800 積丹尼 Dan Jacobson <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"SH" == Stephen Hemminger <[email protected]> writes:

SH> Sure. Submit a patch.

Quoted 8 lines
Quoted 1 line

If only I could figure out how to use the command.

$ ip link show
$ ip addr show
$ ip route

a lot of examples here:
https://www.kernel.org/doc/Documentation/networking/vrf.txt

#6 lore raw
Quoted 7 lines · 積丹尼 Dan Jacobson

I see.
Perhaps on the man page add
EXAMPLES
See https://www.kernel.org/doc/Documentation/networking/vrf.txt
https://www.google.com/search?q=ip+linux+command+usage+examples
(I thought the latter would be hopeless, but actually found lots!)

Actual examples in the page would better than links IMO. git has some nice examples in gittutorial(7) and giteveryday(7). Maybe that can be good inspiration?

Signature · 3 lines
Mit freundlichen Grüßen

Alexander Alemayhu
#7 lore raw
Quoted 11 lines · Alexander Alemayhu
Quoted 7 lines · 積丹尼 Dan Jacobson

I see.
Perhaps on the man page add
EXAMPLES
See https://www.kernel.org/doc/Documentation/networking/vrf.txt
https://www.google.com/search?q=ip+linux+command+usage+examples
(I thought the latter would be hopeless, but actually found lots!)

Actual examples in the page would better than links IMO. git has some nice examples in gittutorial(7) and giteveryday(7). Maybe that can be good inspiration?

excellent opportunity for an aspiring writer / user to make a contribution to improve iproute2.

git clone
git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git
cd iproute2
<make changes>

commit, send to netdev.