Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
List all apt sources in debian/ubuntu OS
for F in $(find /etc/apt/ -name "*.list" -type f)
do
echo "${F}"
echo "================================="
cat "${F}"
echo ""
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.