≡ Menu

Linux Source Code

Get Source Code for any Linux Command

Question: How do I get source code of any Linux command? Answer: For Debian family Linux distributions, you can get source code for any Linux commands using one of the two methods mentioned below. $ cat /etc/apt/sources.list deb-src http://ftp.de.debian.org/debian lenny main $ apt-get update For example, to get source code for netstat command, do the [...]