To use sm_edit from the command line, specify the file name and include the subdirectory under /local where the file resides. For example, to edit the ics.conf, enter:
# BASEDIR/smarts/bin> sm_edit conf/ics/ics.conf
In this example, sm_edit searches in the BASEDIR/smarts/local/conf/ics directory for the ics.conf file. If it finds the ics.conf file, it opens the file in a text editor. If sm_edit does not find the ics.conf file in the BASEDIR/smarts/local/conf/ics directory, it creates a local copy of the ics.conf file and writes it to the BASEDIR/smarts/local/conf/ics directory.
The VMware Smart Assurance System Administration Guide provides additional information about the sm_edit utility, including how to configure the utility to use a specific editor.