how to edit linux system files?


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Linux Gentoo how to edit linux system files?
# 8  
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  
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  
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  
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  
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  
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  
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:
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #702
Difficulty: Medium
The MySQL LIKE operator is a logical operator that tests whether a string contains a specified pattern.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

Accessing files on AIX system from Linux system

I have a following requirement in production system 1 : LINUX User: abcd system 2: AIX (it is hosting a production DB) Requirement user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies

2. UNIX for Dummies Questions & Answers

Edit files with cat

Hi, sometimes one wants to edit files while still seeing output of earlier commands in terminal. I've found out that cat test && cat - >> test does the trick for displaying file content and adding lines but I believe I saw a much cooler command that was also able to erase lines from files. I cannot... (6 Replies)
Discussion started by: scarleo
6 Replies

3. Shell Programming and Scripting

Edit .profile to connect to Oracle- Linux 2.6.9-89

Hi, I want to connect to sqlplus through unix. I got the command to do it. But I was getting error: ./executeSQL.ksh: sqlplus: not found Then when I googled I found that we have to include Oracle Client path in .profile file. I don't know how to do it. Also I don't have permissions to... (2 Replies)
Discussion started by: dips_ag
2 Replies

4. UNIX for Dummies Questions & Answers

How files can be transferred from one system to another securely using Linux?

i need to know how files can be transfered from one system to another securely in linux. (9 Replies)
Discussion started by: bibing
9 Replies

5. UNIX for Dummies Questions & Answers

edit _config files

Hi, I am trying to edit sshd_config file through the vi editor. logged on as a root. when I try to write the file I get: Read-only file, not written; use ! to override when i type :w!, I get: Error: etc/ssh/sshd_config Permission denied. I want to change: #PermitRootLogin no to yes freeBDS... (6 Replies)
Discussion started by: emosms
6 Replies

6. Windows & DOS: Issues & Discussions

RTF files can they be converted once they are on linux system

:D mount -t vfat /dev/hda1 /mnt my dillemma is simple i have psion 5 mx wich is an epoc type machine not only does it only work on windows as far as I know but I have to convert the files (the usual stuff!) sometimes a humen error happens and the files that I want to transfer to the linux drive... (7 Replies)
Discussion started by: moxxx68
7 Replies

7. UNIX for Dummies Questions & Answers

Edit Multiple Files in VI

Here's what I have... $ vi foo1 - open foo1 and work around for a while. I yank a few lines into a buffer and then :w to save. Next I :e foo2 to open foo2 and paste my buffer. I :w to save, but I would like to then be able to go directly back into foo1 where I was before I opened foo2. ... (4 Replies)
Discussion started by: djschmitt
4 Replies

8. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

9. UNIX for Dummies Questions & Answers

how to edit large files using vi

How to edit large file using vi where you can't increase /usr/var/tmp anymore? (3 Replies)
Discussion started by: nazri
3 Replies