Older versions of Ubuntu shipped with python 2.7 and python 3.6. But in Ubuntu 20.04 LTS, only python 3.8 is installed. So when python
was typed in terminal, python3.8 opened. python
, python3
and python3.8
did the same work of opening python3.8.
But later on when I installed python2.7, it messed the python
command. When I used python
command, python2.7 started opening. To use python3.8 now I needed python3
or python3.8
.
Can someone explain why did python
command changed its target application?