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