Operations Manual
Global Files and Directories
DuckDB creates the following global files and directories in the user's home directory (denoted with `~`):  
| Location | Description | Shared between versions | Shared between clients |
|-------|-------------------|--|--|
| `~/.duckdbrc` | The content of this file is executed when starting the [DuckDB CLI client](#docs:api:cli:overview). The commands can be both [dot command](#docs:api:cli:dot_commands) and SQL statements. The naming of this file follows the `~/.bashrc` and `~/.zshrc` “run commands” files. | Yes | Only used by CLI |
| `~/.duckdb_history` | History file, similar to `~/.bash_history` and `~/.zsh_history`. Used by the [DuckDB CLI client](#docs:api:cli:overview). | Yes | Only used by CLI |
| `~/.duckdb/extensions` | Binaries of installed [extensions](#docs:extensions:overview). | No | Yes |
| `~/.duckdb/stored_secrets` | [Persistent secrets](#docs:configuration:secrets_manager::persistent-secrets) created by the [Secrets manager](#docs:configuration:secrets_manager). | Yes | Yes |