Answer the question
In order to leave comments, you need to log in
How to pass a command to another Debian user's screen?
How to pass a command to another user's screen in debian?
There is a command to pass to your screen:
screen -r name -X stuff 'ls -la' (any command)
There is a command to connect to another user's screen:
screen -x user/name
But when I write screen -x user/name -X stuff 'ls -la' will print "No screen session found."
The same thing happens with screen -r user/name -X stuff 'ls -la'
What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question