手册页部分 1: 用户命令

退出打印视图

更新时间: 2014 年 7 月
 
 

clear(1)

名称

clear - 清除终端屏幕

用法概要

clear [term]

描述

如果可能,clear 实用程序会清除终端屏幕。它将在环境中查找终端类型,如果 term 操作数尚未指定终端类型,则会查询 terminfo 数据库,以确定如何清除屏幕。

操作数

term

表示终端类型。通常,该操作数是不必要的,因为缺省值可从环境变量 TERM 获取。

属性

有关下列属性的说明,请参见 attributes(5)

属性类型
属性值
可用性
system/core-os

另请参见

tput(1)attributes(5)