Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #262127
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How can I get verbose shutdown from the GUI (Mate)? |
| Date | 2023-10-03 17:40 +0200 |
| Message-ID | <HkPF7-dhmI-1@gated-at.bofh.it> (permalink) |
| References | <HkJJn-ddWZ-3@gated-at.bofh.it> <HkLi9-deHK-5@gated-at.bofh.it> <HkM4y-dfcl-5@gated-at.bofh.it> <HkNtD-dg8P-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 03 Oct 2023 at 13:15:48 (+0000), Ottavio Caruso wrote: > Am 03/10/2023 um 11:47 schrieb Ottavio Caruso: > > Am 03/10/2023 um 10:43 schrieb Bret Busby: > > > Also, why do you not use, instead of the command that you specified, > > > shutdown -h > > > or, (if instead, wanted, for example, after doing a kernel update) > > > shutdown -r > > > ? > > > > Because all of these are just an alias to systemctl poweroff as > > per systemctl man page. > > Sorry I said alias, I mean link. > > $ ls -l `which shutdown` > lrwxrwxrwx 1 root root 14 Jun 18 15:55 /usr/sbin/shutdown -> /bin/systemctl > $ ls -l `which poweroff` > lrwxrwxrwx 1 root root 14 Jun 18 15:55 /usr/sbin/poweroff -> /bin/systemctl > $ ls -l `which halt` > lrwxrwxrwx 1 root root 14 Jun 18 15:55 /usr/sbin/halt -> /bin/systemctl And observe that: $ ls -l /usr/sbin/reboot lrwxrwxrwx 1 root root 14 Jun 18 09:55 /usr/sbin/reboot -> /bin/systemctl $ but one of the first things systemctl will do is to find out by which name it was called, and act accordingly. That's pretty common behaviour in un*x (think busybox). Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I get verbose shutdown from the GUI (Mate)? Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2023-10-03 11:20 +0200
Re: How can I get verbose shutdown from the GUI (Mate)? Max Nikulin <manikulin@gmail.com> - 2023-10-03 11:50 +0200
Re: How can I get verbose shutdown from the GUI (Mate)? Bret Busby <bret@busby.net> - 2023-10-03 13:00 +0200
Re: How can I get verbose shutdown from the GUI (Mate)? Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2023-10-03 13:50 +0200
Re: How can I get verbose shutdown from the GUI (Mate)? Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> - 2023-10-03 15:20 +0200
Re: How can I get verbose shutdown from the GUI (Mate)? David Wright <deblis@lionunicorn.co.uk> - 2023-10-03 17:40 +0200
Re: How can I get verbose shutdown from the GUI (Mate)? debian-user@howorth.org.uk - 2023-10-03 20:50 +0200
csiph-web