Re: source code of shell commands
- From: Ronald <followait@xxxxxxx>
- Date: Wed, 27 Dec 2006 10:41:53 +0800
George Huber wrote:
Ronald wrote:I would like to study some classic implementation of shell command like cp mv ...
Where can find the source code?
If you are running a rpm based system, you can use rpm to find out what
package provides an executable.
For example, the command "rpm -qf /bin/ls" will give the following
result, coreutils-5.2.1-31
This means that the command 'ls' is provided by the rpm package
'coreutils'. A simple search of the web should be able to yield a
source RPM for this package.
Geoge
No, I don't use rpms. I'm using ubuntu now.
.
- Follow-Ups:
- Re: source code of shell commands
- From: Joe Pfeiffer
- Re: source code of shell commands
- References:
- source code of shell commands
- From: Ronald
- Re: source code of shell commands
- From: George Huber
- source code of shell commands
- Prev by Date: Re: source code of shell commands
- Next by Date: Re: PCI device /dev/mem questions
- Previous by thread: Re: source code of shell commands
- Next by thread: Re: source code of shell commands
- Index(es):
Relevant Pages
|