Source code for UNIX command

Hi Folk,
I want to get the source code for some of the basic UNIX commands , e.g.
tail,wc, etc.
could you please send me the link to these source code( preferably in C language)

Thanks
Shariq

We cannot decide in what language code is writen. This is how I would do it:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Those two commands both come from the coreutils package. Google for
coreutils source.

To find which package other commands come from:

rpm -qf /path/to/the/command

Good luck.

On 06/08/2010 02:26 AM, shariqnitt wrote:
>
> Hi Folk,
> I want to get the source code for some of the basic UNIX commands ,
> e.g.
> tail,wc, etc.
> could you please send me the link to these source code( preferably in C
> language)
>
> Thanks
> Shariq
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMDgJsAAoJEF+XTK08PnB5uRwP/3oR3hXC9KeGqKNBj+G/AGAz
3VXsmhce/u3cOojBkG34azzTn8GdT5yeUu1pgD6T1T8vhLJjqVxOerl8/gtv9eGI
LVrlFckDE83sK1T/sWMoA/ow6IoD9HfdyNU+DmCi+e2MF75VVV7mcHB4NSWa34CW
Y9+NzXJf//wtUXOhIO4LR32rdplueqazMsclYRlmhyudaDbkba5KHBjoaFRx/ZK9
6T5pk3xaAA01vWeV4Gz1jh2gLXwAuRDYTD8qcMj1gkWPWd7rBcEl9YNFt6o/+h35
YvPe3xgG6RkkN0XYqx3wByrQdGEGA+Bpm9xTKhNI7wS8+C4ajCl982fiVunhdvt3
4zBhhIRMPaJLY+SKirAKLFBNCUOIsq4Nf0dliiDvFCadjnA1MLsgCPZKsy0mzRIA
29g2I+UuMcUolW+9AYCy2yHUrAkdYCoC4JbGZ253fC0r8C3jb5dTZgGUR3e/Pb/M
KVclHIYtJWOadqdI/AZFBM7imJuGAiTEocv73HkTMiPqOTLAKoqkiP2HBD0ibMD6
YIycBf9IjDX/yRzRH+AVKuWm/ohDe7bfpviHg7xbe6tts8GMLZ65JDhqDLQO0lTc
fRNiCG4wGr46Ve4Of+vGkuo7eq6EDp5Tjc/WASWPffkqxTuZaEe0lhF4jHnNtpHq
sM9+KaRM+xaW6W2Bxf1A
=Kj1N
-----END PGP SIGNATURE-----

thanks to you all, According to your suggestion, I got the source code at location
Index of /gnu/coreutils