How do I read the source code of shell commands?

前端 未结 7 1846
遇见更好的自我
遇见更好的自我 2020-12-04 04:30

I would like to read the actual source code which the linux commands are written with. I\'ve gained some experience using them and now I think it\'s time to interact with my

7条回答
  •  再見小時候
    2020-12-04 05:00

        cd ~ && apt-get source coreutils && ls -d coreutils*     
    

    You should be able to use a command like this on ubuntu to gather the source for a package, you can omit sudo assuming your downloading to a location you own.

提交回复
热议问题