3

How to put a comment in a .list file?

I'm accessing my sources.list Repositories to check if there are required amount of Repositories or not. There a can see a line which starts with # and i got a feeling like it's a comment so I asked this question.

1
  • 1
    It is a comment.
    – Pilot6
    Oct 23, 2015 at 18:43

1 Answer 1

1

Came here after inputing "debian .list file comment" in my favorite search engine, might happen to someone else.
It is, indeed, a comment.

From Debian manpages:

Empty lines are ignored, and a # character anywhere on a line marks the remainder of that line as a comment.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .