initialization:

systemctl start postgresql
msfdb init
db_status 
  • should give an output like this:
[*] Connected to msf. Connection type: postgresql.

workspaces

  • check workspace with workspace
  • add or remove workspaces with workspace -a workspaceName and workspace -d workspaceName respectively
  • switch workspaces with workspace workspaceName