bitburner-src/markdown/bitburner.ns.gethostname.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

486 B

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 is on.

Remarks

RAM cost: 0.05 GB