Skip to content

Instantly share code, notes, and snippets.

@yuchdev
Created January 7, 2020 09:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuchdev/1008ac6715c06db9143823e8b3e7837c to your computer and use it in GitHub Desktop.
Save yuchdev/1008ac6715c06db9143823e8b3e7837c to your computer and use it in GitHub Desktop.
Linux: disable all logs
#!/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