Thursday, February 6, 2020

LINUX: screen Cannot open your terminal '/dev/pts/0'

We might have seen this errro before.

$ screen
Cannot open your terminal '/dev/pts/0' - please check.


To fix this.

Run below on your terminal.

script /dev/null 

now try screen. Your issue is gone.

Important note:

Few commands;

screen => to start screen on linux

[(ctrl+a) + d] => control A and D to detach the screen.

screen -ls => to list all the running screen session

screen -r abc.asss.1111  => To attach to specific screen.