๐ capturing subshells output
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
Hey guys!
Having the following script:
#!/bin/sh nsenter -t 1 -m sh < /restore.sh exit 0
i am trying to capture the output of the shell created to no aveil.
The second script simply echoes back a set of "keyN:valueN" which i want to use afterwards.
I am not even sure if this is a subshell or how to handle this!
Thanks for anyone investing his time here!
[link] [comments] ...