When a toolbox is removed, the directory structure of the toolbox and all the contents therein are deleted from the disk. Then, the reference to the deleted toolbox is removed from the Toolboxes file.
When a program or library object is removed, all the source, documentation, miscellaneous, and binary files associated with the software object and the directory structure in which they are contained must be removed from the disk. Then, removes the entry referencing the deleted software object is deleted from the toolbox configuration file.
When a file is removed, the process is simple: the file is removed.
This routine will always prompt whether or not you really wanted to remove the item unless you specify the [-force] flag.
% krm -tbname old_toolbox
% krm -tb mytoolbox -oname oldprogram
% krm -i foo.c