Move pages back into a "pages" folder

This commit is contained in:
rprieto
2014-03-04 23:28:29 +11:00
parent 0a4c0f0a37
commit f00bf64426
99 changed files with 0 additions and 0 deletions

23
pages/linux/ip.md Normal file
View File

@@ -0,0 +1,23 @@
# ip
> Show / manipulate routing, devices, policy routing and tunnels
- List interfaces with detailed info
`ip a`
- Display the routing table
`ip r`
- Make an interface up/down
`ip link set {{interface}} up/down`
- Add/Delete an ip address to an interface
`ip addr add/del {{ip}}/{{mask}} dev {{interface}}`
- Add an default route
`ip route add default via {{ip}} dev {{interface}}`