Programming
Terminal multiplexing with Screen
쁘레드
2016. 3. 17. 03:53
--------------
sudo apt-get install screen
touch .screenrc
--------------
vbell off
vbell_msg ""
hardstatus on
hardstatus alwayslastline
#Use: info screen "String Escapes" to style your screen
hardstatus string "%{B}%-Lw%{r}%50>%n%f*%t%{-}%+Lw%<"
def monitor on
term screen-256color
shelltitle Window
screen bash
--------------
screen
CTRL a + c ; create
CTRL a + <num> ; switch to terminal
CTRL d ; detach
screen -r ; retach
screen -r PID