Home > bitburner > NS > getHostname
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.
RAM cost: 0.05 GB
Home > bitburner > NS > getHostname
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.
RAM cost: 0.05 GB