From 60c33981584fe2e159d251234fb2a586ff77a7cc Mon Sep 17 00:00:00 2001 From: Beau-zo Date: Wed, 4 Mar 2026 19:46:45 +1000 Subject: [PATCH 1/2] Remove sudo from tee cmd as we're already in sudo cmd mode. --- docs/linux/includes/odbc-ubuntu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/linux/includes/odbc-ubuntu.md b/docs/linux/includes/odbc-ubuntu.md index 261bd2ed8a5..ad32c7e42ff 100644 --- a/docs/linux/includes/odbc-ubuntu.md +++ b/docs/linux/includes/odbc-ubuntu.md @@ -27,7 +27,7 @@ Use the following steps to install the **mssql-tools18** on Ubuntu. 1. Import the public repository GPG keys. ```bash - curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc + curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc ``` 1. Register the Microsoft Ubuntu repository. From bd15f93bd61c2cc51b4d3e21b1408b59af65d132 Mon Sep 17 00:00:00 2001 From: Beau-zo Date: Thu, 5 Mar 2026 17:37:42 +1000 Subject: [PATCH 2/2] Update odbc-ubuntu.md remove missed redundant `sudo` calls. --- docs/linux/includes/odbc-ubuntu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/linux/includes/odbc-ubuntu.md b/docs/linux/includes/odbc-ubuntu.md index ad32c7e42ff..ba2b055347e 100644 --- a/docs/linux/includes/odbc-ubuntu.md +++ b/docs/linux/includes/odbc-ubuntu.md @@ -53,7 +53,7 @@ Use the following steps to install the **mssql-tools18** on Ubuntu. 1. Import the public repository GPG keys. ```bash - curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc + curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc ``` 1. Register the Microsoft Ubuntu repository. @@ -79,7 +79,7 @@ Use the following steps to install the **mssql-tools18** on Ubuntu. 1. Import the public repository GPG keys. ```bash - curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc + curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc ``` 1. Register the Microsoft Ubuntu repository.