![systemd: running a script on shutdown after filesystems are mounted read-only - Unix & Linux Stack Exchange systemd: running a script on shutdown after filesystems are mounted read-only - Unix & Linux Stack Exchange](https://i.stack.imgur.com/6ESq8.png)
systemd: running a script on shutdown after filesystems are mounted read-only - Unix & Linux Stack Exchange
![linux - How to close all terminals with a bash script that effectively presses Cntrl+Shift+Q in each terminal - Stack Overflow linux - How to close all terminals with a bash script that effectively presses Cntrl+Shift+Q in each terminal - Stack Overflow](https://i.stack.imgur.com/Nmt9N.png)
linux - How to close all terminals with a bash script that effectively presses Cntrl+Shift+Q in each terminal - Stack Overflow
![Linux System Startup and Shutdown Scripts | Linux on HP Integrity Servers: A System Administrators Guide Linux System Startup and Shutdown Scripts | Linux on HP Integrity Servers: A System Administrators Guide](https://flylib.com/books/4/312/1/html/2/images/0131400002/graphics/06fig01.gif)
Linux System Startup and Shutdown Scripts | Linux on HP Integrity Servers: A System Administrators Guide
![Run a script on virtual machines when the host is shut down | Open-Source Routing and Network Simulation Run a script on virtual machines when the host is shut down | Open-Source Routing and Network Simulation](https://i0.wp.com/www.brianlinkletter.com/wp-content/uploads/2019/09/systemd-001.png?resize=1024%2C462&ssl=1)