sqsh

commandline SQL client for MS SQL and Sybase servers

Install

All systems
curl cmd.cat/sqsh.sh
Debian Debian
apt-get install sqsh
Ubuntu
apt-get install sqsh
Alpine
apk add sqsh
image/svg+xml Kali Linux
apt-get install sqsh
Windows (WSL2)
sudo apt-get update sudo apt-get install sqsh
Raspbian
apt-get install sqsh
Docker
docker run cmd.cat/sqsh sqsh powered by Commando

sqsh

commandline SQL client for MS SQL and Sybase servers

sqsh is a flexible commandline utility that uses the freetds libraries to connect to Sybase or Microsoft SQL servers. It is a useful debugging tool for identifying problems with other SQL applications, and it can be used as a productivity tool in its own right: unlike most SQL CLIs, sqsh's interactive shell lets you pipe the output of SQL queries directly to other Unix commands for further processing.