check sql server version ubuntu code example
Example: check mssql version ubuntu
sudo systemctl status mssql-server
or try
Check: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu -
seems like a good guide to get started on mssql on ubuntu.