bug-bash
[Top][All Lists]
Advanced

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

Re: history vs. poweroff


From: Greg Wooledge
Subject: Re: history vs. poweroff
Date: Tue, 31 Jan 2017 14:20:19 -0500
User-agent: Mutt/1.4.2.3i

On Wed, Feb 01, 2017 at 03:13:45AM +0800, ????????? Dan Jacobson wrote:
> GW> I'm confused.  You don't logout before shutting down your computer?
> GW> I would strongly recommend doing so, unless it's an emergency.
> 
> All I know is I want to issue one command to turn off the computer.
> If I logged off first, how could I issue that (poweroff(8)) command?

Log out, log back in as root, issue the command, and accept that root's
(very short) shell history will be lost.

> OK you people turn off your computers by pressing buttons. I see. It is
> my problem.

Yes, most people probably do it this way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]