[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] shutdown from command prompt



Dan said 
> > /sbin/shutdown -r now
> > 
> > --
> > Dan Kriwitsky
> > 
> > 
Larry said
> Dan,
>   Believe you are going to have to type "/sbin/shutdown" since i
>   don't think Cobalt includes the sbin directory in their default
>   path.
> 
Larry, please tell me where was Dan wrong?
Your post is confusing.

man shutdown
/sbin/shutdown [-t sec] [-rkhncf] time [warning-message]
If you "su -" then the command is in $PATH
If you use "su" then the command is not in $PATH

Gerald