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 cls //Windows command prompt clear //Linux terminal cls //clean terminal only on windowsclear clear will clear the UBUNTU terminal
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter