nushell/docs/commands/url_host.md

279 B

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

> echo 'http://www.example.com/foo/bar' | url host