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, 王哲 wangzhe5...@gmail.com 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,

Re: download the source code of some commands

2012-06-21 Thread AFT
王哲 wangzhe5...@gmail.com 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

RE: download the source code of some commands

2012-06-21 Thread jeshwanth Kumar N K
-- Message: 4 Date: Thu, 21 Jun 2012 05:53:00 -0700 From: ashish_bun...@dell.com Subject: RE: download the source code of some commands To: wangzhe5...@gmail.com, kernelnewbies@kernelnewbies.org Message-ID: a1a98fd909dc5248811a65c5d18e9c7635de8be...@blrx7mcdc202.amer.dell.com

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

Re: download the source code of some commands

2012-06-21 Thread 王哲
2012/6/21 Wang Lei f3d...@gmail.com 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