To search for a specific attribute, run ldapsearch with the
--dontWrap option and use the grep
command.
$ bin/ldapsearch --baseDN cn=schema \
--searchScope base --dontWrap "(objectclass=*)" \
attributeTypes | grep 'personalTitle'