# `HOSTNAME` (str)

> Hostname of the current machine

## Description

`HOSTNAME` returns the hostname of the machine (host / server / virtual machine
/ et al) that Murex is running from.

This is a [reserved variable](/docs/user-guide/reserved-vars.md) so it cannot be changed.

## See Also

* [Reserved Variables](../user-guide/reserved-vars.md):
  Special variables reserved by Murex
* [`str` (string)](../types/str.md):
  string (primitive)

<hr/>

This document was generated from [gen/variables/HOSTNAME_doc.yaml](https://github.com/lmorg/murex/blob/master/gen/variables/HOSTNAME_doc.yaml).