how to edit (or delete) sources list in commandline (no text editor, cannot install any new packages on limeted install)
2694
How do I remove a malformed line from my sources.list?
158692
How do I edit a file as root?
42247
how do I go about removing all the language packs I don't need
111153
How do I remove/uninstall a program that I have complied from source?
131490
How do I save Updates/Installed Packages?
134563
How do I remove a broken software source?
63791
Are there any utilities to quickly add, list and remove command aliases?
157525
How to delete old versions of same packages from a Local Repository?
9981
How do I get permissions to edit system configuration files?
113493
How to remove disabled (unused) snap packages with a single line of command?
155198
What is the difference between the "jessie" and "jessie-updates" distributions in /etc/apt/sources.list?
94228
What commands (exactly) should replace the deprecated apt-key?
44338
How do I edit the /etc/hosts file?
123958
How do I search for available packages from the command-line?
4305
How do I fix a "Problem with MergeList" or "status file could not be parsed" error when trying to do an update?
127852
How do I update a program installed from a manually-downloaded deb package?
1687
How to revert software sources back to default?