I am looking for the source code for common commands ( such as cal, su, sudo, ls -l, dir, pwd etc. ). I want to use the source code to learn more about Linux for all the common commands.
Where is the source code for these commands that are present in Linux distributions?
Which Linux distribution is best for learning and viewing the source code for these commands present in Linux?
Is it possible to alter the code to learn how they really works?