how to edit linux system files?


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
Old 12-29-2008
Quote:
Originally Posted by mark54g
What do you wish to change and what are you trying to learn from this?
.
i juz wanna explore linux and learn how it was made......
and wat possible collection of languages might have been used!!!!

thnx anywayz 4 breakin it down to me real straight......
# 9  
Old 12-29-2008
Quote:
Originally Posted by Dragster93
i juz wanna explore linux and learn how it was made......
and wat possible collection of languages might have been used!!!!

thnx anywayz 4 breakin it down to me real straight......
Please edit you post and use proper English with full words and sentences. It is disrespectful to people who are giving up their time to help you to not even address them coherently.
# 10  
Old 12-30-2008
Quote:
Originally Posted by Dragster93
i juz wanna explore linux and learn how it was made......
and wat possible collection of languages might have been used!!!!

thnx anywayz 4 breakin it down to me real straight......
Explore Linux: Grab a copy of any distribution that appeals to you, install it and explore to your hearts desire.
What languages have been used: For the kernel, almost exclusively C and Assembler (as far as I know). Almost all of the system libraries are written in C, too, with a few in C++. As for the rest it's a healthy mix of almost every language out there.

And I too want to remind you of the Rules, specifically Rule 9, which you agreed to when registering.
# 11  
Old 12-30-2008
Quote:
Originally Posted by pludi
And I too want to remind you of the Rules, specifically Rule 9, which you agreed to when registering.
oh yeah.....srry about that dude!!!!

Quote:
Originally Posted by pludi
What languages have been used: For the kernel, almost exclusively C and Assembler (as far as I know). Almost all of the system libraries are written in C, too, with a few in C++. As for the rest it's a healthy mix of almost every language out there.
so will i be able to edit any of those files while running linux or no?
first of all, can i even view those files while running linux or no?

and can u explain to me how these other versions of linux have been created?i mean, how did those creators get the source code of linux?

is it so simple that i can just google it?
# 12  
Old 01-05-2009
Quote:
Originally Posted by Dragster93
Oh yeah... Sorry about that, dude!

So, will I be able to edit any of those files while running linux or not?
If you mean libraries, then probably not, at least not directly. These libraries are all translated into machine code before they can be used, the linux-equivalents of .exe and .dll files. They do not contain source code; the system understands them but reading them yourself would be like trying to read a novel with a microscope.

You could download source code for a library, build your own version, then coerce your system into temporarily using your new ones for something(I advise against replacing them outright, that's just begging for trouble).
Quote:
First of all, can I even view those files while running linux or not?
You can download and view the source code they were made from -- it'll be pure text. If you mean viewing the raw kernel and libraries themselves, no, they're raw machine language. You could open them up in some editor if you really wanted but they'd look like garbage.
Quote:
Also, can you explain to me how these other versions of linux have been created? I mean, how did those creators get the source code of linux?
They probably downloaded it from kernel.org . Different distributions of linux usually are more about differences in the software bundled with it than changes in the kernel itself, usually. Ubuntu uses the Gnome window manager, for instance, while Kubuntu uses KDE, no changes to linux were needed for that.
Quote:
Is it so simple that I can just google it?
You don't quite know what you're asking yet, learning more about C programming would be a good direction. Forget the kernel for a while and figure out how things like compilation and libraries work, and you'll have a much better idea of what the kernel is and how its made.
# 13  
Old 01-06-2009
Quote:
Originally Posted by Corona688
You don't quite know what you're asking yet, learning more about C programming would be a good direction. Forget the kernel for a while and figure out how things like compilation and libraries work, and you'll have a much better idea of what the kernel is and how its made.
i already know c, c#, java and a few web page programming languages...
And I'm planning to follow my career in Game Programming using C# and XNA...
# 14  
Old 01-06-2009
If you already know C then you'll probably understand that it's pretty much impossible to have an OS running on human readable code (except if someone invents a microchip that can do that)
"Open Source" does not mean every kernel/library/program is human readable, but that it is possible for you to obtain the source code (for free) for you to read and modify (for free).
If you really, really, really want to learn how Linux works, I suggest downloading the LFS LiveCD. Quote from their Website
Quote:
LFS teaches people how a Linux system works internally
Building LFS teaches you about all that makes Linux tick, how things work together and depend on each other. And most importantly, how to customize it to your own tastes and needs.
Which seems to be exactly what you want to do.
This User Gave Thanks to pludi For This Post:
theoriginalvoid (02-26-2011)
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Using sed to edit multiple files edstevens Shell Programming and Scripting 4 01-04-2019 12:52 PM
Gunzip and edit many files timj123 Shell Programming and Scripting 9 07-07-2017 06:57 PM
Help require to edit multiple files srikanth38 Shell Programming and Scripting 4 12-11-2014 05:43 PM
Linux/Solaris System Administrator to become a Linux/Solaris System Programmer? Tlogine Programming 1 10-23-2013 05:22 PM
Edit names of files in a directory Error404 Shell Programming and Scripting 3 08-12-2013 12:05 PM
Accessing files on AIX system from Linux system amitnm1106 AIX 2 04-07-2013 04:40 AM
Edit files with cat scarleo UNIX for Dummies Questions & Answers 6 01-31-2011 02:58 AM
Edit .profile to connect to Oracle- Linux 2.6.9-89 dips_ag Shell Programming and Scripting 2 03-12-2010 12:09 AM
How files can be transferred from one system to another securely using Linux? bibing UNIX for Dummies Questions & Answers 9 03-03-2010 05:03 PM
edit _config files emosms UNIX for Dummies Questions & Answers 6 01-09-2010 01:15 PM
RTF files can they be converted once they are on linux system moxxx68 Windows & DOS: Issues & Discussions 7 09-12-2004 02:26 PM
Edit Multiple Files in VI djschmitt UNIX for Dummies Questions & Answers 4 10-07-2003 02:19 PM
Need help to access/mount so to access folder/files on a Remote System using Linux OS S.Vishwanath UNIX for Dummies Questions & Answers 2 07-30-2001 09:17 AM
how to edit large files using vi nazri UNIX for Dummies Questions & Answers 3 06-15-2001 10:18 AM