This question already has an answer here:

I have a python script running on my rpi, which is starts from rc.local file. The script itself is working fine as it should, silently in background without opened terminal window. But in case I want to access the terminal it's running on and see the output how can I do that? Thanks!

marked as duplicate by Aurora0001, techraf, joan, Darth Vader Feb 17 '18 at 15:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


It's not running in any terminal, so there's nothing to see. Terminal is an interactive program that can use to start jobs and receive output. Programs can run other ways - For example launched from graphical desktop or via script as you have done.

  • Thanks but the commands to log the information to the screen, aren't they going anywhere? Any suggestion on how can I manage this? Maybe run it in a "hidden" terminal somehow and then access it later somehow? – pav Feb 17 '18 at 9:24
  • They log to "standard out" - That's the screen if you start from a terminal without doing something special, but it can generally be anything or nothing at all. – Brick Feb 18 '18 at 0:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.