screen - environment emulator

start a process that should run in a own screen process:
- screen -dmS <myscreensessionname> tail -f /var/log/messages

see which screen instances are running:
- screen -list

resume a detached screen session:
- screen -r <myscreensessionname>

detach session when session is active:
- <strg> + <a> + <d>

when you get error "Cannot open your terminal '/dev/pts/0' - please check":
- script /dev/null

computer2know :: thank you for your visit :: have a nice day :: © 2024