I have a reasonably extensive .bash_aliases file. This one I find quite useful, and other (I think) will as well.
This single alias produces a 'clean' listing of all your active repositories. Here are mine, on my Toshiba, using this alias:
Code:
alias sL='grep "^[^#]" /etc/apt/sources.list && cat /etc/apt/sources.list.d/*.list | grep "^[^#]"'
deb http://us.archive.ubuntu.com/ubuntu/ saucy main restricted
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
deb http://archive.canonical.com/ubuntu saucy partner
deb http://extras.ubuntu.com/ubuntu saucy main
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu saucy main
deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu saucy main
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/samrog131/ppa/ubuntu saucy main
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
deb http://archive.canonical.com/ubuntu saucy partner
deb http://extras.ubuntu.com/ubuntu saucy main
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu saucy main
deb http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu saucy main
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu saucy main
deb http://ppa.launchpad.net/samrog131/ppa/ubuntu saucy main
Comment