Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 482 Bytes

bitburner.ns.gethostname.md

File metadata and controls

23 lines (13 loc) · 482 Bytes

Home > bitburner > NS > getHostname

NS.getHostname() method

Returns a string with the hostname of the server that the script is running on.

Signature:

getHostname(): string;

Returns:

string

Hostname of the server that the script runs on.

Remarks

RAM cost: 0.05 GB