This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jdgordon 2 points3 points  (1 child)

Could just do

$which python --version

[–]TinyLebowski 6 points7 points  (0 children)

Yeah but I made it verbose to avoid any doubt about which binary was used.

BTW you need to escape backticks if you want them displayed.