viewing command coding.
I want to get into bash programming and wanted to know if there was a way from the terminal that i coulld view the coding of commands like cp. ls, etc to see how they work for examples.
|
command --help or man help usually give enough without having to see the actual coding.
|
i'd be interested in seeing the actual functions and what not used.
|
I've been interested in this as well, I guess the best way to start is by getting the source to the coreutils package.
http://www.gnu.org/software/coreutils/ For info. http://ftp.gnu.org/pub/gnu/coreutils...-5.2.1.tar.bz2 For the bzipped source. This package has things like rm, ls, chown, chmod etc... Unzip it and have fun exploring :D. I haven't gotten around to wading through the source yet myself, but there is alot there to keep you occupied for a long time. |
thanks that was what i was looking for
|
All times are GMT -5. The time now is 10:33 AM. |