Hi Colin,
thank you. I found following for return "\015"
But if I send it to the screen either on the end of the command pipe
…Command4\015"
or as a separate command at the end
; screen -S Screen-Name -p 0 -X stuff "\015"
it is only attaching the text \015 but not executing the return comm
Hi Colin,
thank you. I tried but nothing arrived in the screen or it did arrive but
didn't start.
What is the exact syntax? Can I start the screen and send the commands in one
command or do I have to start the screen in one command and in the next command
I send the pipeline? I tried it like th
Have u tried -X stuff "command | command2" with the quotes?
On 19 Nov 2016 7:36 am, "aws backup" wrote:
> Hello,
>
> I would like to start a screen session in detached mode and send a command
> pipeline to it. How can I do this?
> With my approach
>
> *screen -d -m -S Name Command1; Command2 |