---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# nxcdb

> Interact with the NetExec database.
> More information: <https://www.netexec.wiki/getting-started/database-general-usage>.

- Enter an interactive database session:

`nxcdb`

- Display the currently active workspace:

`nxcdb --get-workspace`

- Create a new workspace:

`nxcdb --create-workspace {{workspace_name}}`

- Activate the specified workspace:

`nxcdb --set-workspace {{workspace_name}}`
