mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
505 B
Plaintext
22 lines
505 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# resolveip
|
|
|
|
> Resolve hostnames to their IP addresses and vice versa.
|
|
> More information: <https://mariadb.com/docs/server/clients-and-utilities/networking-tools/resolveip>.
|
|
|
|
- Resolve a hostname to an IP address:
|
|
|
|
`resolveip {{example.org}}`
|
|
|
|
- Resolve an IP address to a hostname:
|
|
|
|
`resolveip {{1.1.1.1}}`
|
|
|
|
- Resolve a hostname to an IP address with less output:
|
|
|
|
`resolveip {{[-s|--silent]}} {{example.org}}`
|