M
M
Microdel2014-04-08 12:43:24
Debian
Microdel, 2014-04-08 12:43:24

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

3 answer(s)
E
evgeniusx, 2014-04-08
@evgeniusx

su user/name screen

E
evgeniusx, 2014-04-08
@evgeniusx

gnu.su/plugins/forum/forum_viewtopic.php?354.post

R
Ruslan, 2014-04-09
@margent

I don’t understand, what’s stopping you from running under the right user right away and not turning into a masochist?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question