Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

richard's avatar
Level 21

Forge's db.sh.swp file

There is this file .db.sh.swp which is taking crazy space on my /home/forge folder?

What is its purpose and can I delete it?

forge

0 likes
2 replies
Braunson's avatar

A .swp file is not a swap file in the OS sense but instead a state file. A type of lock file. It keeps your changes since the last save, buffers you have saved, unsaved macros, and undo structure.

Typically they are created with vim and should automatically be deleted when VIM is closed and exited.

Get in touch with Forge support and see if it's one of their files open perhaps otherwise I'd probably delete it.

1 like

Please or to participate in this conversation.