LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   viewing command coding. (https://www.linuxquestions.org/questions/linux-software-2/viewing-command-coding-267250/)

dr_zayus69 12-16-2004 10:45 PM

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.

ror 12-16-2004 10:58 PM

command --help or man help usually give enough without having to see the actual coding.

dr_zayus69 12-16-2004 11:02 PM

i'd be interested in seeing the actual functions and what not used.

sh1ft 12-16-2004 11:10 PM

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.

dr_zayus69 12-16-2004 11:17 PM

thanks that was what i was looking for


All times are GMT -5. The time now is 10:33 AM.