Skip to content

Instantly share code, notes, and snippets.

@sleepdefic1t
Created September 21, 2017 19:09
Show Gist options
  • Save sleepdefic1t/a676d0d0b4ea1a859e59751e35d344b4 to your computer and use it in GitHub Desktop.
Save sleepdefic1t/a676d0d0b4ea1a859e59751e35d344b4 to your computer and use it in GitHub Desktop.
Raspberry Pi terminal command for clearing the bash history and shutting down. Useful for custom images.
history -c && history -w && sudo shutdown now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment