public class help extends VMachine { public help() { } public void run() { try { sysapi.Write(OUT,"List of Available System Commands:\n"); sysapi.Write(OUT," terminates current shell.\n"); sysapi.Write(OUT," creates a new user in a new console window.\n"); sysapi.Write(OUT," waits for current user's programs to finish and then deletes user.\n"); sysapi.Write(OUT," creates a new shell as a child of current shell.\n"); sysapi.Write(OUT," list's the current user's processes.\n"); sysapi.Write(OUT," displays system commands.\n"); sysapi.Exit(vmh,owner); } catch (Exception err) { System.out.println("Sample threw an Exception."); } } };