linux command version python code example Example: check python version kali linux $ python2 --version