Clearing the screen in a shell script

From ceejayoz

Jump to: navigation, search
if($_SERVER['SHELL']) {
  print chr(27) . "[H" . chr(27) . "[2J";
}
Personal tools