Results 1 to 10 of 10

Thread: I don't understand terms

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Houston TX
    Beans
    109
    Distro
    Ubuntu UNR

    I don't understand terms

    I am trouble shooting and a resposnse included "...comment out the top few lines...", and a result on Terminal included "Uncomment the following two lines....

    How does one COMMENT or UNCOMMENT lines? A thesauraus does not provide an answer.

    John

  2. #2
    Join Date
    Mar 2013
    Beans
    32

    Re: I don't understand terms


  3. #3
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: I don't understand terms

    Generally # (or sometimes two together ##) is a comment mark, which tell the system to ignore that particular line in a given file. For an example run
    Code:
    cat /etc/apt/sources.list

  4. #4
    Join Date
    Mar 2013
    Beans
    2

    Re: I don't understand terms

    You must be like me ... totally new to this I get something which looks like the old DOS Prompt, instead of something graphic which kooks quite like a Windows prompt - ubunto 12.10 should be quite like operating Windows, but something is amiss.

  5. #5
    Join Date
    Aug 2012
    Beans
    Hidden!

    Re: I don't understand terms

    Quote Originally Posted by lancasterjoe View Post
    ...ubuntu 12.10 should be quite like operating Windows, but something is amiss.
    bolding is my alteration, one to add to your systems dictionary?

    Please have a careful read of: http://linux.oneandoneis2.org/LNW.htm. (I think as you are a new ubuntu user you may also be new to this forum , mar 2013... welcome )

    @ OP, simply placing a # symbol before a line, or removing a # symbol from a line, either comments out or uncomments a line respectively as previously mentioned.

  6. #6
    Join Date
    Dec 2007
    Beans
    12,521

    Re: I don't understand terms

    Quote Originally Posted by coldcritter64 View Post
    bolding is my alteration, one to add to your systems dictionary? ...
    Someone has a list of the variations

  7. #7
    Join Date
    Sep 2009
    Location
    Houston TX
    Beans
    109
    Distro
    Ubuntu UNR

    Re: I don't understand terms

    Thank you.

  8. #8
    Join Date
    Dec 2007
    Beans
    12,521

    Re: I don't understand terms

    My two bits ...
    Different file types have different ways to indicate comments. I'm familiar with the following ones.

    Files with a .rc suffix usually have # at the start of a line to indicate a commented out line.
    .css files have commented material within /* and */.
    .html (and .xml) files have commented material within <!-- and -->.

  9. #9
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: I don't understand terms

    There are also C++ style comments sometimes (e.g. CUPS and Apache web server configuration files): //

  10. #10
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: I don't understand terms

    You occasionally get ; used for comments as well (php.ini).

    Unless stated otherwise though you can usually assume the # is used for comments in Ubuntu configuration files.
    Cheesemill

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •