I know how to save and clear the logs in Windows, but I'd like to do the equivalent in Linux.  I have a requirement to save those logs for a very long time.  Could someone sort of spell out the command lines for each of those?
Save and clear event and security logs
logs