with open("start.sh", "r") as f: sh = f.read() # Let's check what `start.sh` is currently doing print(sh)