#!/bin/bash sudo find /var/log/ -type f -exec rm -f {} \; sudo rm -f /Library/Logs/DiagnosticReports/* rm -f ~/Library/Application Support/CrashReporter/* rm -f ~/.bash_sessions/* exit 0