https://github.com/cbanowsky/flush
Since MacOS Sierra (I I think edition below) require their own utility to flush DNS cache, this tiny script may make it easier.
https://github.com/cbanowsky/flush
bash bash-script command-line command-line-tool dnscache macos macos-sierra tools
Last synced: about 2 months ago
JSON representation
Since MacOS Sierra (I I think edition below) require their own utility to flush DNS cache, this tiny script may make it easier.
- Host: GitHub
- URL: https://github.com/cbanowsky/flush
- Owner: cbanowsky
- Created: 2017-08-07T04:30:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T16:17:11.000Z (almost 9 years ago)
- Last Synced: 2025-02-06T00:41:41.018Z (over 1 year ago)
- Topics: bash, bash-script, command-line, command-line-tool, dnscache, macos, macos-sierra, tools
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instructions for DNS Cache Flush With Egotistacal Need For Comply
First download the file here [flushcache.sh](https://transfer.sh/14R4oj/flushcache.sh)
download that file and open a `Terminal` window. Oh god yes a terminal window, if you use Terminal, the Apple pre-loaded program, then great. If not, then ignore this part and use whichever emulator or terminal application program you wish.
For those who dare say "that's too hard", read the script in this repo. I mean a 12 year ould could have made that, I just refused to fucking learn `killall -HUP mDNSResponder`. That makes me look pathetic, but so is having to write that when I wanna clean house.
So for **newbs**
1. Download file from above (save to Home folder or in terming `$HOME` or `~/`...)
2. Open Terminal
3. (Since file is in `$HOME` we can do this now.
4. Type the following `chmod +x ./flushcache.sh`
6. **Optional** type `ls` to see if your terminal is set up with colors that may indicate it is now executable or if it is bold.
7. Run `./flushcache.sh`
8. When prompted enter password and hit enter (password will not appear as you type even in symbols, so don't be an idiot and think you aren't typing correctly or something).
9. Enjoy an easter egg command of the Mac operating system, you can have a lot of fun with the `say` command.
That's it. If you can't do that then hire someone who can or never flush your cache, or find some dumb GUI way to do it for 99 cents in The App Store.
The task is simple so should the solution. And it shouldn't cost fucking anything.
- C.