Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-01-2006, 12:23 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 15

Rep: Reputation: 0
Question How to view current kernel configuration

Can someone tell me what the fastest/best way to see the list of what/all options that are currently compiled into your kernel are?

For example if you want to see if CONFIG_IP_NF_TARGET_MASQUERADE is compiled in.

Preferably from CLI, not X.


Old 12-01-2006, 12:32 AM   #2
Senior Member
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
if you have the source installed check 'cat /usr/src/linux-`uname -r`/.config'. if its not there check in /boot/ for the .config file for your currently running kernel
Old 05-25-2013, 11:29 PM   #3
LQ Newbie
Registered: May 2013
Posts: 4

Rep: Reputation: Disabled
.config file is not found

no such file or directory
.config file is not found
I am using ubuntu 12.10 and kernel version 3.5.0-17
I want to see the current kernel configuration but where it is I don't know
please help me
Old 05-27-2013, 08:36 AM   #4
Registered: Mar 2013
Posts: 622

Rep: Reputation: 136Reputation: 136
I think you should need to read this.

If you want to Check What Kernel Build Options Enabled In The Linux Kernel?
Read this.


kernel, options

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
View current kernel config hodges Linux - Kernel 3 07-28-2006 04:37 AM
How to view recent and current logins? QAR Linux - Software 3 02-28-2005 06:21 AM
Loading current kernel configuration in menuconfig gauntalus Linux - General 2 02-10-2005 04:47 PM
how to View Current Logged In Users scialom Linux - Software 1 10-20-2004 11:13 AM
Any way to view the current processes? alyks SUSE / openSUSE 7 10-18-2004 11:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:55 AM.

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