Ubuntu Linux list all installed PPAs apt-get command

Fig.01: Ubuntu Linux list all installed PPAs command

Fig.01: Ubuntu Linux list all installed PPAs command

To list all PPAs on Ubuntu Linux, run:
$ grep ^ /etc/apt/sources.list.d/*
Sample outputs:

/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list:deb http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list:# deb-src http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list:# deb-src http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list.save:deb http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list.save:# deb-src http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list:deb http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list:# deb-src http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list.save:deb http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list.save:# deb-src http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main

You may want to include /etc/apt/sources.list as well, so command is:
$ grep ^ /etc/apt/sources.list.d/* /etc/apt/sources.list | more
Sample outputs:

/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list:deb http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list:# deb-src http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list:# deb-src http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list.save:deb http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/gluster-ubuntu-glusterfs-3_9-xenial.list.save:# deb-src http://ppa.launchpad.net/gluster/glusterfs-3.9/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list:deb http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list:# deb-src http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list.save:deb http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list.d/saiarcot895-ubuntu-myppa-xenial.list.save:# deb-src http://ppa.launchpad.net/saiarcot895/myppa/ubuntu xenial main
/etc/apt/sources.list:# 
/etc/apt/sources.list:
/etc/apt/sources.list:# deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:# deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
/etc/apt/sources.list:# newer versions of the distribution.
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## Major bug fix updates produced after the final release of the
/etc/apt/sources.list:## distribution.
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
/etc/apt/sources.list:## team, and may not be under a free licence. Please satisfy yourself as to
/etc/apt/sources.list:## your rights to use the software. Also, please note that software in
/etc/apt/sources.list:## universe WILL NOT receive any review or updates from the Ubuntu security
/etc/apt/sources.list:## team.
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial universe
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
/etc/apt/sources.list:## team, and may not be under a free licence. Please satisfy yourself as to 
/etc/apt/sources.list:## your rights to use the software. Also, please note that software in 
/etc/apt/sources.list:## multiverse WILL NOT receive any review or updates from the Ubuntu
/etc/apt/sources.list:## security team.
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## N.B. software from this repository may not have been tested as
/etc/apt/sources.list:## extensively as that contained in the main release, although it includes
/etc/apt/sources.list:## newer versions of some applications which may provide useful features.
/etc/apt/sources.list:## Also, please note that software in backports WILL NOT receive any review
/etc/apt/sources.list:## or updates from the Ubuntu security team.
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:## Uncomment the following two lines to add software from Canonical's
/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:## This software is not part of Ubuntu, but is offered by Canonical and the
/etc/apt/sources.list:## respective vendors as a service to Ubuntu users.
/etc/apt/sources.list:# deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:# deb-src http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list:# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list:deb [arch=amd64,ppc64el,i386] http://mirror.lstn.net/mariadb/repo/10.1/ubuntu xenial main
/etc/apt/sources.list:# deb-src [arch=amd64,ppc64el,i386] http://mirror.lstn.net/mariadb/repo/10.1/ubuntu xenial main
/etc/apt/sources.list:deb [arch=amd64,ppc64el,i386] http://download.nus.edu.sg/mirror/mariadb/repo/10.1/ubuntu xenial main
/etc/apt/sources.list:# deb-src [arch=amd64,ppc64el,i386] http://download.nus.edu.sg/mirror/mariadb/repo/10.1/ubuntu xenial main

Examples and usage: Ubuntu Linux Remove/Delete PPAs apt-get command