macOS

purge

SafeFlush disk caches

sudo purge

Flushes the file cache — useful to normalize benchmarks, not a daily 'memory cleaner'.

Examples

  • sudo purgeFlush the cache

Syntax

sudo purge

Before you run it

Cache flush only; things slow briefly.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store