nushell/docs/commands/url_host.md

23 lines
279 B
Markdown

---
title: url host
layout: command
version: 0.59.1
---
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
```