Eae Asked: 2011-10-20 18:49:16 +0800 CST2011-10-20 18:49:16 +0800 CST 2011-10-20 18:49:16 +0800 CST Source code for 'df' command 772 Can someone tell me how to locate the source code for the 'df' command. My operating system is Ocelot. Thanks! 11.10 2 Answers Voted Isaiah 2011-10-20T18:59:17+08:002011-10-20T18:59:17+08:00 First, find out what package the df command comes from. This will turn out to be coreutils. Then run the command apt-get source coreutils to get the source code for the package containing the df command. Sergey 2011-10-20T18:59:31+08:002011-10-20T18:59:31+08:00 df is a part of coreutils package. You can get source either from GNU website or you can get the source package from launchpad
First, find out what package the
df
command comes from. This will turn out to becoreutils
.Then run the command
to get the source code for the package containing the
df
command.df
is a part of coreutils package. You can get source either from GNU website or you can get the source package from launchpad