ubuntu list repositories apt code example Example: apt list repositories sudo grep -rhE ^deb /etc/apt/sources.list*