|
From: | Jim C. |
Subject: | How can I execute a command in a detached screen? |
Date: | Mon, 19 Sep 2005 20:12:10 -0000 |
User-agent: | Mozilla Thunderbird 1.0.5 (Macintosh/20050711) |
I do the following: address@hidden bin]$ screen -dm address@hidden bin]$ screen -ls There is a screen on: 22539..mirage (Detached) 1 Socket in /tmp/uscreens/S-sdn20. address@hidden bin]$ screen -S 22539..mirage -X exec "/bin/ls -l" address@hidden bin]$ ...but when I re-attach the screen there is no evidence to show that the command executed. I've been pouring over the man pages and I cannot discern the proper syntax for this. Clue please? Jim C.
[Prev in Thread] | Current Thread | [Next in Thread] |