This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Mechanism to clear all kernel Logs

Hi Experts,

How to clear all the kernel logs in the Linux kernel ?


It includes dmesg,/dev/kmsg,bash_history and any other default logging mechanism employed.

I am clear it individually. Is there any method to prevent it or to turnoff all the logging mechanism ?