March 21, 2013

Listing aptitude sources

Forgot your repositories? Here's how to list em:

# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

I <3 find !

No comments: