If you want something that is vaguely portable you can try:
system "clear" || system "cls"
which will try both clear
and cls
If you want something that is vaguely portable you can try:
system "clear" || system "cls"
which will try both clear
and cls