---
name: "pgtclsh"
section: "1"
platform: "linux"
package: "libpgtcl"
version: "7.4.7-6sarge6"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/pgtclsh"
---

# pgtclsh(1)

PostgreSQL Tcl shell client

## NAME

pgtclsh - PostgreSQL Tcl shell client

## SYNOPSIS

**pgtclsh** \[ *filename*  \[ *argument*... \] \]

## DESCRIPTION

**pgtclsh** is a **Tcl** shell interface extended with PostgreSQL database access functions. (Essentially, it is **tclsh** with *libpgtcl* loaded.) Like with the regular **Tcl** shell, the first command line argument is a script file, any remaining arguments are passed to the script. If no script file is named, the shell is interactive.

A **Tcl** shell with **Tk** and PostgreSQL functions is available as [**pgtksh**(1)](/pgtksh/1.md).

## SEE ALSO

[**pgtksh**(1)](/pgtksh/1.md),  *pgtcl* chapter in the documentation,  [**tclsh**(1)](/tclsh/1.md)
