[Techtalk] Executing user-made commands on the command line

Mary mary-linuxchix at puzzling.org
Sun May 11 22:09:41 EST 2003


On Sun, May 11, 2003, Berenice wrote:
> May as well post some more questions while I'm here :) 1.  Where I can
> see the source code of commands such as ls or rm?  I'm interested in
> seeing how they do things like flow control and options.

Commands like ls and rm are now really big - ls was over 3000 lines of
code the last time I looked at it.

That said, you can find the source to GNU's fileutils linked from:
http://www.gnu.org/software/fileutils/fileutils.html

and the more minimal busybox utils at: http://www.busybox.net/downloads/

-Mary


More information about the Techtalk mailing list