nushell/docs/commands/url_host.md

23 lines
279 B
Markdown
Raw Normal View History

---
title: url host
layout: command
version: 0.59.0
---
gets the host of a url
## Signature
```> url host ...rest```
## Parameters
- `...rest`: optionally operate by cell path
## Examples
Get host of a url
```shell
> echo 'http://www.example.com/foo/bar' | url host
```