Skip to content

u/atomicwrites

In this archive from Apr 2018 to Dec 2023

6
posts
91
comments
1
media
468
score

Bangline for Python script when the binary names don't match between different Linux distros

Hi, I have a Python script that I want to run on multiple systems, some are Ubuntu and some are an RHEL based appliance. On Ubuntu, I have: /usr/bin/python3 -> python3.8 /usr/bin/python3.8 That seems normal. On RHEL however, it is: /usr/bin/python -> python2 /usr/bin/python2 -> python2.7 /usr/bin/py...

1 points15 comments
Open on Reddit

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.