연구 관련
How to clear the ubuntu terminal
뉴요쿠
2021. 9. 17. 14:52
반응형
In the terminal, use the following command;
$ printf "\033c"
You can also define an alias in the bash file.
$ gedit ~/.bashrc
Add the following line at the end of the file.
alias cls='printf "\033c"'
Then you can use cls to clear the terminal anytime you want.
반응형