The screen command can establish an independent connection in the terminal and keep running after closing the terminal. It can be used for file transfer or long-running programs.
Installation: yum install screen
New: screen -S onename
View: screen -ls
Enter: screen -r onename
Complete exit: exit, equivalent to directly closing the terminal window
Keep the session and exit: Press Ctrl+A+D keys on the keyboard at the same time