# `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 so it cannot be changed.



## Synonyms

* `hostname`
* `HOSTNAME`


## See Also

* [Reserved Variables](../user-guide/reserved-vars.md):
  Special variables reserved by Murex
* [`set`](../commands/set.md):
  Define a local variable and set it's value
* [`str` (string)](../types/str.md):
  string (primitive)
* [`string` (stringing)](../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).