list all ppa repository ubuntu code example Example: list all ppa repository ubuntu egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/*