So Linux always has 26 different ways to do everything. (That's not a complaint.)

Having not worked in a "Linux shop" where programmers readily exchange tips and tricks, I've done Linux for the past 21 years by myself. And I continue to wonder what is the best way to do this simple thing? So I thought I'd throw this out here.

On a Raspberry Pi I have both Python 2 and Python 3 installed. For years I've only used Python 3. But the default command "python" runs Python 2. For Python 3 I have to use python3.

To reverse this situation I can create aliases in .bashrc. Is that the easiest / best way?

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.