Automating an entry for terminal

前端 未结 3 1798
无人及你
无人及你 2021-01-23 19:19

I have a problem which do not really know how to ask. I will try to explain as best as possible.

I have to automate an installation process using a bash script. In the

3条回答
  •  天命终不由人
    2021-01-23 20:18

    You can provide input using pip operator (thanks ShadowRanger) Example:

    echo "yes"  | command
    echo "pass" | ssh user@pass
    

提交回复
热议问题