Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コマンドを出す癖がありclearます。
clear
cygwin を実行すると、含まれているパッケージがclearインストールされず、インストールするオプションがありません。Ctrl+Lは良い代用です。ただし、私はまだclear習慣的にコマンドを発行しています。
+キーストロークclearを発行するキーワードにエイリアスを設定したいと思います。これはファイルなどで達成できますか?CtrlL.bashrc
.bashrc
ありがとう!
clearいくつかの ANSI エスケープ シーケンスを出力するだけで画面をクリアします。で同じことができますprintf:
printf
alias clear='printf "\e[H\e[2J"'