James Livingston shows us how to install SQLCMD on Red Hat Enterprise Linux:
Microsoft has decent instructions on installing SQLCMD on
linux . My current company blocks access to external yum repositories, so I followed the “Offline” installation. There’s two packages to install:
1)msodbcsql – aka Microsoft’s ODBC driver for SQL Server
2)mssql -tools – SQLCMD
Read on for the step-by-step instructions.