Files
cheatsheet-tldr/tldr/dhclient

18 lines
324 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dhclient
> DHCP client.
> More information: <https://manned.org/dhclient>.
- Get an IP address for the `eth0` interface:
`sudo dhclient {{eth0}}`
- Release an IP address for the `eth0` interface:
`sudo dhclient -r {{eth0}}`