I appreciate the attempt to contribute, but instead of showing how to run a script to wipe logs, why not tell us where logs are located and how to wipe them by hand? Then we can write our own scripts and/or more thoroughly understand how this script does its job?
Sorry for all the negative feedback you've been receiving, and ill give this one a C+ for effort. But try harder next time, show us what your really capable of
Edit*
Tell us what locations they are locayed in, commands to erase the contents or only part of the contents, maybe even replace them? what's the difference between how bash logs history and servers do? Stuff like that just to be more clear. I actually opened this up expecting to read about this sort of thing but was a bit disappointed. I eagerly await your next in-depth tutorial though ^_^