I have problem with find and regular expression. I would like to find files in /etc, which name begin of a or b. I tried this commands:
find /etc -type f -regex '^a' find /etc -regextype sed -regex "^a" find /etc -regextype egrep -regex '^a' find /etc -regextype posix-egrep -regex '^a'
But not working. I have 20 files in /etc which name begin of a, but my regexp not find this files. What i do wrong?