snipt

Ctrl+h for KB shortcuts

Bash

flush computer cache

dscacheutil -flushcache
https://snipt.net/embed/462147d9a8d2b1562064c4b45d5b8223/
/raw/462147d9a8d2b1562064c4b45d5b8223/
462147d9a8d2b1562064c4b45d5b8223
bash
Bash
1
2019-08-14T09:18:05
True
False
False
/api/public/snipt/34168/
flush-computer-cache
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>dscacheutil -flushcache </span></pre></div> </td></tr></table>
cache, flush, local

Bash

How to flush DNS in OS X

1
2
3
# flash dns

$ dscacheutil -flushcache
https://snipt.net/embed/f629d79f3fdd704b54a7badc2667feb3/
/raw/f629d79f3fdd704b54a7badc2667feb3/
f629d79f3fdd704b54a7badc2667feb3
bash
Bash
3
2019-08-19T12:05:49
True
False
False
/api/public/snipt/4836/
how-to-flush-dns-in-os-x
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c1"># flash dns</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>$ dscacheutil -flushcache </span></pre></div> </td></tr></table>
dns, flush, osx, unix