source list code example

Example 1: linux repository list

//Debian repository source lists
$ sudo nano /etc/apt/sources.list

Example 2: source.list kali linux

Try this:
sudo apt-get update --fix-missing

Example 3: kali repo

echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list
echo "deb http://http.kali.org/kali kali-last-snapshot main non-free contrib" | sudo tee /etc/apt/sources.list
echo "deb http://http.kali.org/kali kali-experimental main non-free contrib" | sudo tee -a /etc/apt/sources.list

Tags:

Misc Example