Multiple choice technology programming languages

How to clear the console?

  1. clear

  2. reset

  3. tput clear

  4. all

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All three commands (clear, reset, tput clear) can clear the console, so 'all' is the correct answer. The clear command is most common, reset does a harder reset, and tput clear uses the terminal capability.