Search code examples
linuxtailuclinux

How can I get the source code for the linux utility tail?


this command is really very useful but where I can get the source code to see what is going on inside .

thanks .


Solution

  • The tail utility is part of the coreutils on linux.

    I've always found FreeBSD to have far clearer source code than the gnu utilities. So here's tail.c in the FreeBSD project: