isql and sqsh are, essentially, rudimentary command-line tools for issuing Transact-SQL commands to an ASE Server and receiving and displaying results.
Sqsh supports, among others, command history, aliases and piping output to or from external programs and sources. It runs on various flavours of Unix, including Linux as well as Windows through the Cygwin libraries.