bitburner-src/markdown/bitburner.ns.nuke.md

38 lines
628 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [nuke](./bitburner.ns.nuke.md)
## NS.nuke() method
Runs NUKE.exe on a server.
<b>Signature:</b>
```typescript
nuke(host: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| host | string | Hostname of the target server. |
<b>Returns:</b>
void
## Remarks
RAM cost: 0.05 GB
Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.
## Example
```ts
nuke("foodnstuff");
```