I'm trying to write a shell script that will automatically set-up a LAMP stack for me. One of the lines I have in the script is:
add-apt-repository -y ppa:ondrej/php5-oldstable >> /tmp/output.txt
But try as I may it always outputs the following content:
gpg: keyring `/tmp/tmpf0k2tr/secring.gpg' created etc........
I would like there to be no output to be displayed to the screen when I run this command to add this ppa to my repository.