You can pass the command line to bash, for example something like this is fine:
screen bash -c "echo 1 2 3 4 | pv -pL 1 | wc && sleep 5" Be careful about your quoting, though. On Tue, Jul 9, 2019 at 6:08 AM Андрей Резниченко <aro...@gmail.com> wrote: > Dear all! > There is a question..a task..to run a command in screen..but command like: > > echo "test\n20170821\nnone\n"|script > > It means we pass three parameters to script..and all of it I want to run > in screen > > What should be the syntax of desired command? > > Hope and rely on your help > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > https://lists.gnu.org/mailman/listinfo/screen-users >
_______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users