mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 05:49:01 +00:00
Update cheatsheets
This commit is contained in:
21
linux/resolveip
Normal file
21
linux/resolveip
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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/kb/en/resolveip/>.
|
||||
|
||||
- Resolve a hostname to an IP address:
|
||||
|
||||
`resolveip {{example.org}}`
|
||||
|
||||
- Resolve an IP address to a hostname:
|
||||
|
||||
`resolveip {{1.1.1.1}}`
|
||||
|
||||
- Silent mode. Produces less output:
|
||||
|
||||
`resolveip --silent {{example.org}}`
|
||||
Reference in New Issue
Block a user