Re: How to reboot remotely without hanging ssh session?

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



On Thu, Feb 6, 2014 at 5:03 AM, Vincent Schumaker <vschum@xxxxxxxxx> wrote:
> I don't see why you can't just run:
>
> shutdown -r 30
>
> Is it so urgent that the system be rebooted 'now?'

I agree, why not just use `$ shutdown -r [+1]`? That'll make the
command exit cleanly and give you a minute to end the SSH session. And
at least on my Arch machine, /usr/bin/shutdown is a symlink to
/usr/bin/systemctl so I suppose that it actually uses systemd under
the hood.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux