--- layout: docu redirect_from: - /docs/stable/guides/troubleshooting/command_line title: Command Line --- ## Attaching to HTTPS Databases in v1.5.2 DuckDB v1.5.2 has a known issue where opening an HTTPS database directly from the command line fails with an error during httpfs extension autoloading: ```bash duckdb https://blobs.duckdb.org/data/tpch-sf1.db ``` ```console Extension Autoloading Error: An error occurred while trying to automatically install the required extension 'httpfs': Initialization function "httpfs_duckdb_cpp_init" from file ".../.duckdb/extensions/v1.5.2/osx_arm64/httpfs.duckdb_extension" threw an exception: "Schema with name main does not exist!" ``` To work around this, prefix the URL with `duckdb:`: ```bash duckdb duckdb:https://blobs.duckdb.org/data/tpch-sf1.db ``` ## Piped Scripts Not Running in v1.5.0 On Linux and macOS, DuckDB v1.5.0 has a known issue that the [command line client]({% link docs/current/clients/cli/overview.md %}) does not interpret piped scripts ([#21243](https://github.com/duckdb/duckdb/issues/21243)). To demonstrate the problem, create a `test.sql` file: ```bash echo "SELECT 42 AS x;" > test.sql ``` Piping the file to the DuckDB 1.5.0 CLI client does not run the script: ```bash duckdb < test.sql # does not run the script ``` To work around this, add `| cat` to the end of the call: ```bash duckdb < test.sql | cat ``` ```text ┌───────┐ │ x │ │ int32 │ ├───────┤ │ 42 │ └───────┘ ``` If you are piping from a file, you can also use the [`-f` argument]({% link docs/current/clients/cli/arguments.md %}): ```bash duckdb -f test.sql ``` ```text ┌───────┐ │ x │ │ int32 │ ├───────┤ │ 42 │ └───────┘ ```