How To Run Commands At Shutdown In Linux?

Linux operating system provides a lot of different ways to manage system status like startup, running levels, shutdown. Old type SysVinit manager provides run levels...