SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way to print full paths is replace relative start path with absolute path:
grep -r --include="*.sh" "pattern" ${PWD}