gpt4 book ai didi

linux - 易于获取 : How to bypass pressing ENTER

转载 作者:太空狗 更新时间:2023-10-29 11:49:31 25 4
gpt4 key购买 nike

在 CircleCI 中使用 apt-get 时,我得到 Press [ENTER] to continue or ctrl-c to cancel adding it。如何自动绕过它?
我尝试使用 -y 但没有效果!

最佳答案

此消息源于对 add-apt-repository 的调用。

您可以使用 -y/--yes 标志绕过它。参见 the manpage

例如像这样:

sudo add-apt-repository --yes ppa:example/repository

关于linux - 易于获取 : How to bypass pressing ENTER,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45548826/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com