Link to home
Start Free TrialLog in
Avatar of mrflibble
mrflibble

asked on

CLS command?

Hi,

I am writing some code that will be used on a linux machine on the command line.  I was wondering if there is a way to clear the screen (just like using the 'clear' command at the bash prompt) without using the curses library etc?

Thanks,

Matt
ASKER CERTIFIED SOLUTION
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
class ...
inherit SYSTEM

...

feature

  clear_screen is
  do
    execute_command_line("/bin/clear")
  end --clear_screen

end --class ...