- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
Try this quick start:
$ screen <in the screen> $ ls -al / <in the screen> Ctrl+A d $ screen -r <see :), you're back to you screen>
Put this into you ~/.screenrc
to get fancy colours. At least you'll see what is happening.
hardstatus alwayslastline hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]' # Default screens screen -t shell1 0 screen -t shell2 1 screen -t server 2 ssh me@myserver
Move process to screen
- Suspend the process with Ctrl+Z.
- Resume the process in the background with bg.
- Disown the process with disown %1.
- Launch a screen session with screen.
- Find the PID of the process using pgrep.
- Use reptyr to take over the process reptyr.
linux/screen.txt · Last modified: 2016/09/06 17:35 by tomsa