Skip to content

Commit 9261288

Browse files
Update diagnostics-linux.md
Adding the bash tag to the python code blocks
1 parent b9968e7 commit 9261288

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-machines/extensions/diagnostics-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ The `python2` executable file must be aliased to *python*. Here's one way to ach
9797

9898
1. Run the following command to remove any existing aliases.
9999

100-
```
100+
```bash
101101
sudo update-alternatives --remove-all python
102102
```
103103

104104
2. Run the following command to create the new alias.
105105

106-
```
106+
```bash
107107
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
108108
```
109109

0 commit comments

Comments
 (0)