How do I edit the source list of a file?

How do I edit the source list of a file?
Answer
Append new line of text to current sources.list file
  1. CLI echo “new line of text” | sudo tee -a /etc/apt/sources.list.
  2. GUI (Text Editor) sudo gedit /etc/apt/sources.list.
  3. Paste new line of text on new line at end of current sources. list text file in Text Editor.
  4. Save and close sources.list.
 

Tìm kiếm

Back
Top