cat /etc/oratab | grep -e "^[\a-Az-Z0-9\]\{0,8\}\:*/[[:graph:]]*"
Hints:-
Always use caret "^" and "$" without escape "\" like "^[[:digit:]]" or "$[[:digit:]]" .
To include forward search use "\+" or "*" like "^[[:graph:]]\+" or "^[[:digit:]]*" .
cat /etc/oratab | grep -e "^[\a-Az-Z0-9\]\{0,8\}\:*/[[:graph:]]*"
Hints:-
Always use caret "^" and "$" without escape "\" like "^[[:digit:]]" or "$[[:digit:]]" .
To include forward search use "\+" or "*" like "^[[:graph:]]\+" or "^[[:digit:]]*" .
# Log in as root su - root # Execute opatchauto against the unzipped patch directory /u01/app/19.0.0/ grid /OPatch/opatchauto apply /tmp/pat...