Basically, I want to run add-apt-repository ppa:(whatever) without the "press Enter to continue" prompt. How would I do this?
Essentially, I want to deploy adding a repository in a shell script without user input.
Basically, I want to run add-apt-repository ppa:(whatever) without the "press Enter to continue" prompt. How would I do this?
Essentially, I want to deploy adding a repository in a shell script without user input.
The script goes like this
#! /bin/sh
sudo add-apt-repository ppa:(Your ppa here) -y
BTW you will still have to enter password.
sudo and thus no password
– rubo77
Nov 26 '19 at 21:01
-yat the end of the commandadd-apt-repository -y .... – Uri Herrera Jun 05 '13 at 00:25man add-apt-repositoryand you will see the-yswitch that @UriHerrera said. – NickTux Jun 05 '13 at 01:33