it:ad:git:bash:howto:clear_the_screen

IT:AD:Git Bash:HowTo:Clear the Screen

Summary

It's not a Windows command prompt, so CLS doesn't work.

clear does it.

Ctrl-L also does it.

You can alias clear to cls (why?!?) by add this to your .bashrc:

alias clear=’/cygdrive/c/Windows/System32/cmd.exe /c cls
  • /home/skysigal/public_html/data/pages/it/ad/git/bash/howto/clear_the_screen.txt
  • Last modified: 2023/11/04 02:22
  • by 127.0.0.1