The clear command In linux, the clear command is used to clear terminal screen. Example $ clear Before: $ echo Hello World Hello World $ clear After executing clear command: $ Screenshot: After running the command your terminal screen will be clear: