Fix problema with screen
1 minute read
in my daily work logging in servers i caught this error:
Cannot open your terminal '/dev/pts/0' - please check
it’s occur because the current shell was already initialized (probably because use of sudo su
), and the screen going crazy, to fix do this:
script /dev/null
yeah, it’s a unix-command-line-hack, but works, if you are curious about why this works, see this thread
I feedback.
Let me know what you think of this article on twitter @roudi or leave a comment below!
Let me know what you think of this article on twitter @roudi or leave a comment below!