How to automatically run a BASH script at shutdown?

Hello!

Tell me how to automatically execute BASH script when shutting down (Ubuntu) !?
September 19th 19 at 00:22
2 answers
September 19th 19 at 00:24
Solution
September 19th 19 at 00:26
Immodest question, you have tried to solve this problem yourself?
What solutions tried, what worked/did not work?
And the impression that you mistook the toaster tab with the tab of a search engine.

Find more questions by tags UbuntuUbuntu Serverbash