Skip to content

Instantly share code, notes, and snippets.

@icarrr
Created January 7, 2023 12:36
Show Gist options
  • Save icarrr/373bb00f61499f8995f0cdd5647b0370 to your computer and use it in GitHub Desktop.
Save icarrr/373bb00f61499f8995f0cdd5647b0370 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Note, we are using "echo 3", but it is not recommended in production instead use "echo 1"
echo "sudo echo 1 > /proc/sys/vm/drop_caches"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment