-2

I knew how to delete all the log files with terminal command "sudo rm -r /var/log" but how to set it up for system events, therefore, clear up everytime system shutdown?

1 Answers1

0

We can execute commands or script at startup or shutdown,

see the links below for details,

unix.stackexchange.com or ccm or opensource.com

Jithin Scaria
  • 1,271
  • 1
  • 15
  • 26