Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Clear screen and scrollback on Linux.

License

NotificationsYou must be signed in to change notification settings

nodef/cls.sh

Repository files navigation

Clear screen and scrollback on Linux.
🐚
Bash,📜Files.

cls (similar toclear inUnix-like systems) is abuiltin command inWindowsCommand prompt, whichclears the screen and scrollback (entirescreen buffer), andresets the cursor to the top-left corner of the screen.Thecls command actually has its origins inBASIC. This package provides thesame behaviour as mentioned above onLinux (withbash shell). I oftenprefer this instead ofclear when the output of a command is long. You caninstall this withnpm install -g cls.sh.

Stability:Experimental.


# Clear screen, reset cursor, clear scrollback$ cls


References:



ORGDOI


[8]ページ先頭

©2009-2025 Movatter.jp