Source Code
How do I view the linux source code?
|
less
I prefer less to view things. However you can also view it in vi if you plan on editing it later ;) It depends on what it's written in usually, but I'd think most of your text editors (especially vi) and viewers (especially less) wouldn't have a problem looking at it. You might actually wanna use a programming tool though, it would likely format it a bit better for the 'eye'. Cool |
if you have it installed, it is usually in /usr/src/linux
|
thanx jalal
I was wondering about were to find it in the system. I guess I should have been more specific, but you are appreciated as well masterC |
I installed it, and went to /usr/src/linux and this directory doesn't exist. The only directory in /usr/src is packages, and it contained a directory called SOURCES. But I couldn't find the code for the kernel in there. Do you have any other suggestions?
thanx |
If you installed the kernel, you will also need to install:
kernel-sources Or something like that (that's the name of the package) or what I suggest is just grab yourself a raw copy: www.kernel.org :) Cool |
All times are GMT -5. The time now is 02:23 PM. |