I was curious as to which language was utilities built into the Linux kernel was written in such as grep, cut, awk, find etc.
Are these compiled and can not be cat'ed and viewed?
I was curious as to which language was utilities built into the Linux kernel was written in such as grep, cut, awk, find etc.
Are these compiled and can not be cat'ed and viewed?
The Linux kernel is written in C primarily. You can get it with:
git clone git://github.com/torvalds/linux.git
and then look at anything you please. Supporting commands, awk
etc, can be found at GNU Software under 'All GNU Packages'.
The GNU tools can be found on the GNU project hosting page http://savannah.gnu.org/.
There you can review the source code of, for example, grep: http://git.savannah.gnu.org/cgit/grep.git.
Linux itself is not an operating system but the kernel. The tools you're mentioning form the so called userland, which is separated from the kernel. Combining the GNU tools with the Linux kernel (and some glue) forms the GNU/Linux operating system.