Can someone tell me how to locate the source code for the 'df' command. My operating system is Ocelot.

Thanks!

link|improve this question

12% accept rate
feedback

2 Answers

Run the command:

apt-get source coreutils

to get the source code for the df command.

References:

link|improve this answer
Props for teaching a man to fish. – Erigami Oct 20 '11 at 3:46
feedback

df is a part of coreutils package. You can get source either from GNU website or you can get the source package from launchpad

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.