Results 1 to 5 of 5
Hi,
I'm a new user of Linux, now I have a problem as follows:
(1) In which way can I get the source code of command "ping" from my OS(Ubuntu9)?
...
- 12-06-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 2
How do I get the source code of command "ping" on my computer?
Hi,
I'm a new user of Linux, now I have a problem as follows:
(1) In which way can I get the source code of command "ping" from my OS(Ubuntu9)?
(2) Please answer it in detail, for that I just have little experience in using Linux.
(3) Sorry about my poor English spoken.
Thanks a lot.
douwenke
- 12-06-2010 #2
Step1. Open your browser. [ Chromium, Google Chrome, Firefox, Konqurer etc ]
Step2. Point it to http://git.busybox.net/busybox/plain/networking/ping.c
Step3. Read the SourceCode.
Hope that helped.
Cheers,
Robin
- 12-06-2010 #3Just Joined!
- Join Date
- Dec 2010
- Posts
- 2
That's rellay what I want.
Thanks very much.
Douwenke
- 12-07-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,977
Remember, if you use the busybox source, you need to provide attribution of their copyrights in your source code, and make any changes you made available to others if they want them, assuming you are using this for something other than a personal "experiment". Open Source does not mean No License...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-07-2010 #5
You can also fetch source files with
For ping, it would beCode:apt-get source <package>
orCode:apt-get source inetutils
(ping is not a package by itself but provided by those packages)Code:apt-get source iputils


Reply With Quote