bash - Running a script in PowerBroker -
i'm trying script commands run inside pbrun shell. i've tried executing through normal script, doesn't work because, understanding, pbrun executed in won subshell, making hard, if not impossible, pass commands to.
the solution i'm thinking might work if have input/output text processor listens terminal , responds accordingly.
i able send commands standard input of pbrun:
echo 'echo $hostname' | pbrun bash
Comments
Post a Comment