Coder Social home page Coder Social logo

linux-source-lists-manager's Introduction

linux-source-lists-manager

The source list manager is a powerful terminal-based tool that manages the source files that are located in /etc/apt/sources.list and any other source list that may exist in /etc/apt/sources.d.

Download & Build

First download the program from GitHub and go to the linux-source-lists-manager folder.

% git clone https://github.com/EmbeddedCat/linux-source-lists-manager.git
% cd linux-source-lists-manager/

After installation the program must be built. In order to build the program, the following instruction must be followed.

% make

Usage

Usage: source-manager [OPTION]...

	--show-sources [source file],             Display all the sources of one souce file. If no file specified, /etc/apt/sources.list sources will be displayed.
	--show-comments [source file],            Display all the comments of one source file. If no file specified, /etc/apt/sources.list comments will be displayed.
	--add-source [source file] [new source],  Add a new source in a specific source file. If no file specified, the new source stored at the end of /etc/apt/sources.list
	--remove-source [source file] [row],      Remove a source,in [row], from a specific source file. If no file specified the source in the [row] of /etc/apt/sources.list will be removed.
	--comment-source [source file] [row],     Comments the source, in [row], of a specific source file. If no file specified the source in the [row] of /etc/apt/sources.list will be commented.
	--uncomment-source [source file] [row],   Uncomments the source, in [row], of a specific source file. If no file specified the source in the [row] of /etc/apt/sources.list will be uncommentd.
	--show-source-lists,                      Display all the source lists that exists in the system's two directories 1) /etc/apt 2) /etc/apt/sources.d.
	--create-source-list [source list],       Create a new source list inside the /etc/apt/sources.d folder.
	--remove-source-list [source list],       Remove a source list from the /etc/apt/sources.d```

linux-source-lists-manager's People

Contributors

constarg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

linux-source-lists-manager's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.