Files
tldr/pages.fr/common/ifconfig.md
2021-05-01 12:49:31 -04:00

24 lines
446 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ifconfig
> Configurateur des interfaces réseau.
- Affiche les paramètres de réseau d'un adaptateur ethernet :
`ifconfig {{eth0}}`
- Affiche les détails de toutes les interfaces, y compris les interfaces désactivées :
`ifconfig -a`
- Désactive l'interface eth0 :
`ifconfig {{eth0}} down`
- Active l'interface eth0 :
`ifconfig {{eth0}} up`
- Assigne une adresse IP à l'interface eth0 :
`ifconfig {{eth0}} {{addresse_ip}}`