I want to be able to start a python script when I boot, but I want to be able to see lines which have been printed during the program. I have been able to put the line sudo python /path/to/file.py into /etc/rc.local but of course I can't then see the output.Is it possible to put some kind of line in there to start the program in a screen terminal and which I can then access when I SSH in? - maybe something along the lines of...screen sudo python /path/to/file.py
Start a python script in `screen` on boot?
boot;ssh;gnu screen