- Qwerty's post stated - 
| The Following User Says Thank You to hartti For This Useful Post: | ||
- a few i have read looked great until i saw the line (FIX: Blah blah not working, needs to be added)
| The Following User Says Thank You to hartti For This Useful Post: | ||
#!/usr/bin/python
import commands
enabled = commands.getoutput('find /etc/apt -name *.list -exec grep -v "^#" {} \
; | grep -v "^$"')
disabled = commands.getoutput('find /etc/apt -name *.list -exec grep "^#" {} \;
| grep -Ev "^#\W*$"')
print "Enabled Repositories \n\n" + enabled
print "\n\nDisabled Repositories \n\n" + disabled
| The Following 2 Users Say Thank You to fatalsaint For This Useful Post: | ||
apt-cache policy
| The Following 3 Users Say Thank You to fatalsaint For This Useful Post: | ||
| The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||
| The Following User Says Thank You to fatalsaint For This Useful Post: | ||
| The Following 2 Users Say Thank You to qwerty12 For This Useful Post: | ||