User Tools

Site Tools


devop:screen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

devop:screen [2025/10/30] – created hayatidevop:screen [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
 +~~NOTRANS~~
 +
 +====== screen ======
 +
 +keep running sessions despite logout
 +
 +===== some tutorials =====
 +
 +https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/
 +
 +https://www.itzgeek.com/how-tos/linux/how-to-use-linux-screen-command.html
 +
 +https://www.cloudbooklet.com/how-to-use-linux-screen-command/
 +
 +https://unix.stackexchange.com/questions/40242/scroll-inside-screen-or-pause-output
 +
 +===== ~/.screenrc =====
 +
 +i slightly modified - based on https://linuxize.com/post/how-to-use-linux-screen/
 +<code>
 +# Turn off the welcome message
 +# startup_message off
 +
 +# Disable visual bell
 +vbell off
 +
 +# Set scrollback buffer to 10000
 +defscrollback 10000
 +
 +# Customize the status line
 +hardstatus alwayslastline
 +hardstatus string '%{= kG}[ %{G}%H %{g}][%S][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %Y-%m-%d %{W}%c %{g}]'
 +
 +# Enable mouse scrolling and scroll bar history scrolling
 +# Ctrl-A Esc  (Ctrl-B / Ctrl-B / Up / Down)* .. Esc or Enter
 +termcapinfo xterm* ti@:te@
 +
 +</code>
 +