Answers for "clear terminal"

21

clear terminal windows

cls
===============================
will clear the windows terminal
Posted by: Guest on July-15-2020
2

windows clear terminal

Type in "cls" and press enter
Posted by: Guest on March-11-2021
3

clear terminal

reset
Posted by: Guest on May-14-2020
1

clear terminal

clear               # only clear visible screen
clear && clear      # clear buffer as well
tput clear          # same as clear but by sending escape seq
reset               # clear + reset internal terminal state + 1sec delay
tput reset          # same as reset but without 1sec delay
stty sane           # don't clear screen but reset some terminal options
echo -e "\033c"     # same as tput reset but hardcoded escape seq
printf "\033c"      # same as tput reset but hardcoded escape seq
setterm -reset      # same as tput reset, setterm has friendlier commands
Posted by: Guest on March-22-2021
1

command to clear terminal

cls     //Windows command prompt
clear   //Linux terminal
Posted by: Guest on April-08-2021
0

clear terminal

cls
//clean terminal only on windows
Posted by: Guest on March-20-2021

Browse Popular Code Answers by Language