Originally Posted by tredegar
is part of bash
, and cat
probably is too, so you'll need to look at the source for bash
, which you can find in many places, including here:
At least for me (running debian), neither echo OR cat are part of bash.
Where you can find the source code depends entirely on what program you're trying to find it for.
Echo and cat are (at least on debian) part of the coreutils package, who's source can be found at ftp://alpha.gnu.org/gnu/coreutils
This package also includes things like grep and less (and more).