Here are a list of some useful Linux commands that I either use frequently or used them rarely to fix a typical issue that is worth to remember for future needs. Of course, this will be updated little by little as times goes on. The following commands are given randomly.
- Create a virtual environment with a specific Python version
virtualenv --python=path/to/python/version/ venv
The default installations of different Python versions are located in
/usr/bin/. You can type
whereis python if you can not remember.