When using the SQLite command line interface, you can use the .databases
command to return a list of attached databases. More specifically, it returns the names and file names/location of each attached database.
You can also use the PRAGMA database_list
statement to return a list of databases attached to the current database connection.