Clearing the Screen in the Linux Shell Scripting tutorial

preview_player
Показать описание

Playlist

This video was sponsored by:
Karl Arvid
Steven C. Morreale

Рекомендации по теме
Комментарии
Автор

as this videos are just quick tip, would like to quickly mention that 'clear' just pushes the screen up, it actually does not clear your terminal (you can do pageUp to see your previous outputs). If you really want to clear your terminal, you can use 'reset' command. And I think in linux you might have to add explicit keyboard shortcut for that, while ok Mac, you can use CMD + k.

TanmayJoshi
Автор

On cygwin I have to do `printf "\033c"` to send the correct escape sequence.

FernandoBasso
visit shbcf.ru