public void cd(String dir){
  StringBuilder buf=new StringBuilder();
  String command=String.format(ImageServerDialogProperties.getString("cmd.cd"),dir);
  sendWaitFor(command,defaultTimeout,prompts,buf);
  log.debug(buf.toString());
}

public void cd ( String dir ) { StringBuilder buf = new StringBuilder ( ) ; String command = String . format ( ImageServerDialogProperties . getString ( "cmd.cd" ) , dir ) ; sendWaitFor ( command , defaultTimeout , prompts , buf ) ; log . debug ( buf . toString ( ) ) ; }
cd command in linux .
