How can I grep hidden files?
Please refer to the solution at the end of this post as a better alternative to what you’re doing. You can explicitly include hidden files (a directory is also a file). grep -r search * .[^.]* The * will match all files except hidden ones and .[^.]* will match only hidden files without … However … Read more