diff options
author | howar6hill <f.eiwu@yahoo.com> | 2020-02-20 22:12:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 15:12:55 +0100 |
commit | 83668299a61c39556976d731fcf7d04466157f2a (patch) | |
tree | 64a9c6f1d0b340517f956ca8b0c28f6e69954e22 /Base/usr/share/man/man1 | |
parent | 088d7be19c768fea577d7ad4a6e6088afbabe09b (diff) | |
download | serenity-83668299a61c39556976d731fcf7d04466157f2a.zip |
host: Use ArgsParser to parse arguments, and add man page (#1252)
Fixes #1246.
Diffstat (limited to 'Base/usr/share/man/man1')
-rw-r--r-- | Base/usr/share/man/man1/host.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/host.md b/Base/usr/share/man/man1/host.md new file mode 100644 index 0000000000..c76d15192e --- /dev/null +++ b/Base/usr/share/man/man1/host.md @@ -0,0 +1,25 @@ +## Name + +host - DNS lookup utility + +## Synopsis + +```**sh +$ host <name> +``` + +## Description + +`host` is a simple utility for performing DNS lookups. It is used to +convert names to IP addresses and vice versa. + +`name` is the domain name that is to be looked up. It can also be a +dotted-decimal IPv4 address, in which case `host` will perform a reverse +lookup for that address. + +## Examples + +```sh +$ host github.com +$ host 8.8.8.8 +``` |