Unix/Linux Go Back    


Gentoo Gentoo Linux is a versatile and fast, completely free Linux distribution geared towards developers and network professionals.

how to edit linux system files?

Gentoo


Tags
hack, linux, open, open-source, opensource, shell script, shell scripting, unix scripting, unix scripting basics

Closed    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 12-29-2008
Dragster93 Dragster93 is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 6 January 2009, 3:39 PM EST
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mark54g View Post
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......
Sponsored Links
    #9  
Old Unix and Linux 12-29-2008
reborg's Unix or Linux Image
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 13 Times in 11 Posts
Quote:
Originally Posted by Dragster93 View Post
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.
Sponsored Links
    #10  
Old Unix and Linux 12-30-2008
pludi's Unix or Linux Image
pludi pludi is offline Forum Advisor  
Cat herder
 
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,521
Thanks: 38
Thanked 335 Times in 308 Posts
Quote:
Originally Posted by Dragster93 View Post
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 Unix and Linux 12-30-2008
Dragster93 Dragster93 is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 6 January 2009, 3:39 PM EST
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by pludi View Post
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 View Post
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?
Sponsored Links
    #12  
Old Unix and Linux 01-05-2009
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 25 April 2017, 2:08 PM EDT
Location: Saskatchewan
Posts: 22,077
Thanks: 1,070
Thanked 4,151 Times in 3,841 Posts
Quote:
Originally Posted by Dragster93 View Post
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.
Sponsored Links
    #13  
Old Unix and Linux 01-06-2009
Dragster93 Dragster93 is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 6 January 2009, 3:39 PM EST
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Corona688 View Post
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...
Sponsored Links
    #14  
Old Unix and Linux 01-06-2009
pludi's Unix or Linux Image
pludi pludi is offline Forum Advisor  
Cat herder
 
Join Date: Dec 2008
Last Activity: 28 March 2014, 8:35 AM EDT
Location: Vienna, Austria, Earth
Posts: 5,521
Thanks: 38
Thanked 335 Times in 308 Posts
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.
The Following User Says Thank You to pludi For This Useful Post:
theoriginalvoid (02-26-2011)
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
is it really not possible for me to edit the etc/group & the etc/passwd files? whatev3r UNIX for Dummies Questions & Answers 2 12-11-2008 10:26 AM
Application to create/edit chm files agasamapetilon UNIX and Linux Applications 2 10-13-2008 10:12 AM
RTF files can they be converted once they are on linux system moxxx68 Windows & DOS: Issues & Discussions 7 09-12-2004 01:26 PM
Edit Multiple Files in VI djschmitt UNIX for Dummies Questions & Answers 4 10-07-2003 01:19 PM
how to edit large files using vi nazri UNIX for Dummies Questions & Answers 3 06-15-2001 09:18 AM



All times are GMT -4. The time now is 09:52 AM.