clear 命令详解

| 选择喜欢的代码风格  

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

clear 命令安装:


-bash: clear command not found

#Debian
apt-get install libncurses5-dbg

#Ubuntu
apt-get install libncurses5-dbg

#Alpine
apk add ncurses

#Arch Linux
pacman -S ncurses

#Kali Linux
apt-get install ncurses-bin

#CentOS
yum install ncurses

#Fedora
dnf install ncurses

#OS X
brew install ncurses

#Raspbian
apt-get install libncurses5-dbg

#Docker
docker run cmd.cat/clear clear  

clear 命令语法:


clear

clear 命令知识扩展:


NAME
       clear - clear the terminal screen

SYNOPSIS
       clear

DESCRIPTION
       clear  clears your screen if this is possible.  It looks in the environ-
       ment for the terminal type and then in the terminfo database  to  figure
       out how to clear the screen.

       clear ignores any command-line parameters that may be present.

SEE ALSO
       tput(1), terminfo(5)

       This describes ncurses version 5.7 (patch 20090207).

clear 命令补充说明:


clear命令 用于清除当前屏幕终端上的任何信息。

clear 命令实例:


直接输入 clear 命令当前终端上的任何信息就可被清除。

clear 命令扩展阅读:




clear 命令评论