then not long after that, I introduced screen for UART/COM/serial communication
then I found out, using "screen" is a much wiser choice.
Simply flow are as follow:
- create a screen
- execute whatever you want to run, probably something like a server
- detect a screen (ctrl-a, d)
There you go. Server will continue to listen after you log off your ssh session.
In case you want to go back to that screen, just re-attach it
- list screen (screen -ls)
- re-attached the screen (screen -r [screen name])
- there, ctrl -c to quite your program or server or whatever, then type exit to exit the screen
No comments:
Post a Comment