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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
inherit SYSTEM
...
feature
clear_screen is
do
execute_command_line("/bin
end --clear_screen
end --class ...