Created
January 7, 2020 09:01
-
-
Save yuchdev/1008ac6715c06db9143823e8b3e7837c to your computer and use it in GitHub Desktop.
Linux: disable all logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/etc/init.d/syslogd stop | |
/etc/init.d/rsyslogd stop | |
sudo systemctl disable rsyslog | |
sudo systemctl disable syslog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment