Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/linux/includes/odbc-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change removes sudo from tee in the Ubuntu 18.04 tab because the preceding step uses sudo su. However, the Ubuntu 20.04 and 22.04 tabs in this same include still use sudo tee for the same key import while also starting with sudo su, so the instructions become inconsistent and the PR title/description reads broader than the actual change. Consider making the same update in the other tabs (or alternatively, drop the sudo su step and keep per-command sudo) so the guidance is consistent.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BeauSmyth19901 If you can make the change recommended here, I'll get it merged.

```

1. Register the Microsoft Ubuntu repository.
Expand Down