LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2005, 08:39 AM   #1
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
uncomment


how do you "uncomment" a line?

its for the kernel compiling instructions... i see the line, but, what do i add, what do i take out, what does uncomment mean?
 
Old 02-08-2005, 09:04 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
A comment is a line in a program or script that is there just for us humans it is ignored by the computer. A comment is indicated differently in various languages. In c++ it's:
Code:
// This is a comment
in basic:
Code:
' this is a comment
and in shell scripts (bash scripts):
Code:
# This is a comment
So depending what aspect of the kernel you're working on (source code level or configuration level) it's going to be a line starting with either // or #

To 'uncomment' a line means simply to remove the # or // so that the line is no longer ignored by the compiler/computer and the code now takes effect.

If you're configuring the kernel prior to compiling, you should probably be using a graphical tool, for example by running:
make menuconfig
make gconfig
or
make xconfig
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vi view uncomment lines only dhammika Linux - General 8 10-01-2005 02:05 AM
vsftpd - comment/uncomment question. zaoka Linux - General 1 07-31-2005 01:09 AM
uncomment? *huh?* teona Linux - Newbie 9 12-25-2003 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration