Search code examples
terminalroot-framework

What command is needed to clear the terminal in cern's root?


I have just started using cern's ROOT and couldn't find a command to clear the terminal. The beginner's manual and the user guide don't seem to mention anything about a command similar to clear in bash.

To be clear, what needs to be typed after root[number] prompt so that the console screen clears out and root keeps running?


Solution

  • Thanks to @MaryChang
    .!clear

    P.S.: .!cls for windows; just clear or cls on root prompt doesn't work (as of ROOT ver 6.16/00)