Quote:
|
Quote:
|
there are two different types of commands
'internal' and 'external' commands internal commands are part of the shell external commands are separate binaries that are executed by the shell a lot of the basic commands that are not internal commands (such as ls) can be found in the 'coreutils' package |
The thing to be clear on, is that whether the cmd is part of the shell, or 'external', Linux is FOSS (Free & Open Src SW).
This means that the src code should be available from your normal repos. Most distros don't install the src code by default, because most people don't want/need it. Note that some distros also give access to non-open SW. That would involve reverse engineering, which is likely illegal ... depending on jurisdiction/reason for doing so etc. What Sw do you want to see the src for? |
"man alias" you will get what you want.
|
On the off chance that anyone does want to modify a shell built in function, you can get the source for the shell and modify to your hearts content. As has been said many times in this thread, FOSS (Free open source software) is exactly what it says on the tin, open source. If the source hasn't been made readily available, and if you know it's covered by the gnu license, ask the package author for the source (he'll supply it under the terms of the license).
As has also been said, you hit a problem with closed source propriety stuff (which most of GNU/linux isn't) but beyond that the world is your oyster. |
All times are GMT -5. The time now is 07:47 AM. |