ubuntu add entry to /etc/apt/sources.list code example Example: ubuntu add entry to /etc/apt/sources.list echo "new line of text" | sudo tee -a /etc/apt/sources.list