Command-Line Utilities Quick Reference204 Netscape Directory Server Configuration, Command, and File Reference • December 2001Command-Line Utilities Quick ReferenceCAUTION In order to execute the command-line utilities you must change tothe directory where the command-line utilities are stored. Althoughit is possible to set command-path and library-path variables toexecute the utilities, this is not recommended procedure because yourun the risk, particularly when you have more than one serverversion installed, not only of disrupting the correct execution ofother utilities, but also of compromising the security of the system.The same procedure also applies to the Perl scripts used forperforming routine operations. For further information on these andother scripts see Chapter 8, “Command-Line Scripts.”Table 7-1 Commonly Used Command-Line UtilitiesCommand-line utility Descriptionldapsearch Allows you to search the directory. Returns search results inLDIF format. For details on this tool, see Appendix B,“Finding Directory Entries” in the Netscape Directory ServerAdministrator’s Guide.ldapmodify Allows you to add, delete, modify, or rename entries. Alloperations are specified using LDIF update statements. Fordetails on this tool, see “Adding and Modifying Entries Usingldapmodify”.ldapdelete Allows you to delete entries in the directory. For informationon using this utility, see “Deleting Entries Using ldapdelete”.ldif Automatically formats LDIF files for you, and creates base 64encoded attribute values. For details on this tool, see “Base 64Encoding”.CAUTION Directory Server ldap utilities are not to be confused with the Solarisldap utilities. If you have Directory Server installed on a Solarismachine, the ldap man pages you can access are for the Solaris ldaputilities and NOT for Directory Server ldap utilities.