How do we execute a command such as it executes everytime one logs out or shutdowns or restarts the machine ?
To be more specific, I want the autotrash to be executed at logout, or shutdown or restart.