Re: download the source code of some commands

2012-06-21 Thread Wang Lei
You are welcome. -- Regards, Lei ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: download the source code of some commands

2012-06-21 Thread 王哲
2012/6/21 Wang Lei > If you use Debian or other distribution with apt package system. > > You can use whereis to locate this command. > [~]$ whereis halt > halt: /sbin/halt /usr/share/man/man5/halt.5.gz > /usr/share/man/man8/halt.8.gz > > Then, use dpkg -S to show which package it's included. Thi

Re: download the source code of some commands

2012-06-21 Thread Wang Lei
If you use Debian or other distribution with apt package system. You can use whereis to locate this command. [~]$ whereis halt halt: /sbin/halt /usr/share/man/man5/halt.5.gz /usr/share/man/man8/halt.8.gz Then, use dpkg -S to show which package it's included. This one is: sysvinit. [~]$ dpkg -S /s

Re: download the source code of some commands

2012-06-21 Thread Greg Freemyer
On Thu, Jun 21, 2012 at 8:48 AM, 王哲 wrote: >   Hi all: >        I want to see some source code of some commands,for > example,halt,reboot,uptime,and so on. > > but i don't kown where to download?   can you give me some advice? > > Thanks in advance! You need to figure out how your distro of choic

RE: download the source code of some commands

2012-06-21 Thread jeshwanth Kumar N K
n you give me some advice? Thanks in advance! -- next part -- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120621/3a198ac7/attachment-0001.html -- Message: 4 Date: Thu, 21 Jun 2012 05:53:0

Re: download the source code of some commands

2012-06-21 Thread AFT
王哲 writes: > Hi all: >I want to see some source code of some commands,for > example,halt,reboot,uptime,and so on. > > but i don't kown where to download? can you give me some advice? > > Thanks in advance! Hi, Although this does not relate to kernel, you can still view the codes of

Re: download the source code of some commands

2012-06-21 Thread Denis Kirjanov
How does it related to the kernel? On 6/21/12, 王哲 wrote: > Hi all: >I want to see some source code of some commands,for > example,halt,reboot,uptime,and so on. > > but i don't kown where to download? can you give me some advice? > > Thanks in advance! > -- Regards, Denis

Re: download the source code of some commands

2012-06-21 Thread 王哲
2012/6/21 > All commands are bin files. You should find the scripts for them in > /usr/bin only. > > ** > scripts ? can you give an example for an command? Thanks! > ** > > *Ashish Bunkar* > > Linux Engineering > > *Dell* | BDC** > > *office* +91-80-28078131, *mobile* +91-7259183

RE: download the source code of some commands

2012-06-21 Thread Ashish_Bunkar
All commands are bin files. You should find the scripts for them in /usr/bin only. Ashish Bunkar Linux Engineering Dell | BDC office +91-80-28078131, mobile +91-7259183696 ashish_bun...@dell.com From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-