I was trying to find a text string inside of all the files in a directory. I ended up doing it one letter at a time.
So what is the 'all files' wildcard if *.* dont work. Using /f* /g* appears to work from my output. Why not *.* ?
Code:
root@E6420:~ # egrep -l '\<firstboot\>' '/etc/rc.d/*'
egrep: /etc/rc.d/*: No such file or directory
root@E6420:~ # egrep -i '\<firstboot\>' /etc/rc.d/f*
root@E6420:~ # egrep -i '\<firstboot\>' /etc/rc.d/g*
/etc/rc.d/growfs:# KEYWORD: firstboot
root@E6420:~ # egrep -i '\<firstboot\>' /etc/rc.d/*.*
egrep: No match.
root@E6420:~ #