[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: I'm unclear with the file symbol link!!!
- From: Aaron Turner <aturner linuxkb org>
- To: redhat-list redhat com
- Cc: "redhat-digest redhat com" <redhat-digest redhat com>
- Subject: Re: I'm unclear with the file symbol link!!!
- Date: Sat, 25 Mar 2000 19:23:33 -0800 (PST)
No problem, that's the way it's supposed to work. Basically, /sbin/halt
can detect how it's called and react accordingly. It's a pretty common
tactic in scripting languages like Bash and Perl too.
--
Aaron Turner, Core Developer http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization http://www.linuxkb.org/
Because world domination requires quality open documentation.
aka: aturner vicinity com, aturner pobox com, ion_beam_head ashtech net
The difference between `Unstable' and `Usable' is only two characters: NT
On Sun, 26 Mar 2000 linuxforum 21cn com wrote:
> Hi,all,
> There is an unclear problem with the file symbol link. In the
> SysVinit2.74, the command 'poweroff' and 'reboot' in /sbin are the
> same symbol link of '/sbin/halt', But their function is different .
> 'reboot' performs a task like 'shutdown -r now'and 'poweroff', 'halt'
> just is 'shutdown -h now'.
> Anybody can give me a clear interpretation ?
> Thanks for your help!
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]