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,
王哲 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
--
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
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
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