question: public void rm ( String fileOrDir ) { StringBuilder buf = new StringBuilder ( ) ; String command = String . format ( ImageServerDialogProperties . getString ( "cmd.rm" ) , fileOrDir ) ; sendWaitFor ( command , defaultTimeout , prompts , buf ) ; log . debug ( buf . toString ( ) ) ; }
target:  Remove file or directory using 'rm -rf' command. No error if file or directory don't exist.