Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


how to edit linux system files?


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
how to edit linux system files?

i had heard that linux is open source.....which meant that i could edit it.
so how do i start out? i've already downloaded it. the name's "puppy linux".....someone please reply quick!!!

and by the way, may i know what shell scripting is?
# 2  
# 3  
Quote:
dude i visited the link.....but i still didnt understand where to find the linux system files.....
# 4  
Please read up onbefore moving to such advanced topics like C programming, GCC, system calls, assembler and kernel hacking.

Also, it might be a good idea to get some experience in using a Linux system before starting to modify it's source.
# 5  
Quote:
Originally Posted by pludi
Please read up onbefore moving to such advanced topics like C programming, GCC, system calls, assembler and kernel hacking.
well, i read up on it and thnx 4 the links.....they were quite useful!!!


Quote:
Originally Posted by pludi
Also, it might be a good idea to get some experience in using a Linux system before starting to modify it's source.
but i still don't get it. how do i edit linux if i don't know where the system file is located? or is it that i have to compile my own version of linux to do that. if its like that, then why would they call it open source? open source means it code is editable right?
# 6  
In a nutshell:
  • Open Source means that you can get the source and modify it if you wish. But to run it you have to compile those changes
  • The Linux kernel always has to be compiled to run, since it's the operating system itself and thus can't be interpreted like a shell script.
  • The Linux kernel is usually located in /boot/, look for a file called vmlinuz* or similar
  • Other system files, like libraries and essential executables are located in /sbin, /bin, /lib and /usr/lib. This include the glibc and alike
  • The Kernel source can be installed through your distributions source package, or you can download it from kernel.org
Again, if you want to start Kernel hacking, start by installing a distribution, getting used to it, move on to the command line and it's tools, so that you get a feeling for what the kernel does and how changes could affect it's behavior.
If you want a fast dive straight into it, start with Gentoo or Slackware, and later use that to build a LFS system.
# 7  
As has been explained to you, Linux (the Kernel) and many of the accompanying software is open source.

This means that you are free to edit the files as you wish without fear of reprisals in the form of copyright violations and such for the changes. Other software vendors do not allow you to make these changes to their code as they are proprietary.

Linux does not have "System Files" in so much as what you seem to be describing.

You cannot simply go in and muck about.

You CAN however change parameters of running machines, and do a lot more. What do you wish to change and what are you trying to learn from this?

read up on sysctl and how it can change parameters of the kernel on a running machine. However, be aware that changes you make can disrupt running processes as well as the stability of the machine.

As for editing files in linux, also look up "vi" or "vim" and use that to edit the files themselves, as they are text based editors found on nearly every UNIX or UNIX-Like operating system.
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
Accessing files on AIX system from Linux system
amitnm1106
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 ,...... AIX
2
AIX
Edit .profile to connect to Oracle- Linux 2.6.9-89
dips_ag
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...... Shell Programming and Scripting
2
Shell Programming and Scripting
How files can be transferred from one system to another securely using Linux?
bibing
i need to know how files can be transfered from one system to another securely in linux.... UNIX for Dummies Questions & Answers
9
UNIX for Dummies Questions & Answers
RTF files can they be converted once they are on linux system
moxxx68
: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...... Windows & DOS: Issues & Discussions
7
Windows & DOS: Issues & Discussions

Featured Tech Videos