grep -rl 500 .
wasn't accepted. Am I wrong or is it wrong? grep -rl 500 .
wasn't accepted. Am I wrong or is it wrong?Unfortunately, since shopt globstar is disabled I ended up needing to do this:
grep 500 $(find . -type f -iname "access.log*")I used echo -e 'access.log\naccess.log.1\nREADME'. :D
grep -rl '500'
works just fine.grep -rl "500" .
doesn't work because it returns with the "./".