sudo apt install screen
screen
screen -S main_session
Ctrl+a c Create new window
Ctrl+a " List all windows
Ctrl+a 0 Switch to window 0 e.g. Ctrl+a 1 Switch to window 1 etc
Ctrl+a A Rename current window
Ctrl+a d Detach sceen session
screen -ls
screen -r ?????
screen -r main_session
screen -rd main_session
linux multiple sessions
于 2022-12-27 10:30:10 首次发布