Remove Microsoft SQL Server
Open terminal and type the following command to stop the mssql server:
systemctl stop mssql-server
You will get this authentication dialog box above, sign-in with your credentials.
Then type the following command in the terminal to remove the application:
sudo apt-get remove -y mssql-server
Type the following command in the terminal to delete Azure security center.
sudo apt-key del microsoft.asc
Change directory to the sql directory, then list its contents, using the following commands.
Remove content from the sql directory, then list sql directory contents to verify they were removed.
Change directory back to your home. Then remove the sql directory
cd -/home/your username here
rm: cannot remove 'sql': Is a directory
rm -f --dir sql
Please sign in to leave a comment.