I accidently deleted /var/run/screen/S-root/25771.pts-0 and when I try to run screen again
screen bash ...
it reports:
/var/run/screen/S-root/25771.pts-0: No such file or directory
How can I recover it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means you are already in screen named “bash”
Just exit it with “exit” command. And run again “screen bash”