diff --git a/README.md b/README.md
index 2fb6fda5e1..70ecf4005f 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ Try checking the current limit for open files:
 
 `launchctl limit maxfiles`
 
-Then run the following commands:
+Then run the following commands (adapted from https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c):
 
 ```
 #!/bin/sh