shell tput的用法
shell 用法
2023-09-14 09:08:38 时间
tput sc ##记录光标位置
tput cup x y ###移动光标至x列y行
tput rc ##返回光标位置
tput civis ##隐藏光标
tput cnorm ## 显示光标
tput setaf ColorNumber## 设置前景色
tput setab ColorNumber ##设置背景色
tput cup x y ###移动光标至x列y行
tput rc ##返回光标位置
tput civis ##隐藏光标
tput cnorm ## 显示光标
tput setaf ColorNumber## 设置前景色
tput setab ColorNumber ##设置背景色
#加粗 bold=$(tput bold) #下划线 underline=$(tput sgr 0 1) #重置规则 reset=$(tput sgr0) #红色 red=$(tput setaf 1) #绿色 green=$(tput setaf 2)
相关文章
- linux shell 进去 uefi,怎么进入EFI Shell及怎么为UEFI截图「建议收藏」
- shell中的for循环用法详解
- shell运算实战案例-KFC点餐系统
- linux 刷流量ip,程序员同事问shell脚本刷流量,不讨巧帮他填了一个巨坑
- 使用 shell 脚本自动申请进京证 (六环外)
- shell脚本自动备份mysql数据库,并进行云备份
- 【ES三周年】linux 基于 RHEL 的 Linux 发行版(例如 CentOS 和 Fedora)上用 shell 脚本安装 elasticsearch
- Shell脚本中获取select值详解程序员
- 测试数据库并发压力的shell脚本详解程序员
- Shell(Bash)位置参数变量用法详解
- Shell exit流程控制语句及用法
- 编程探索Linux下的Shell编程世界(linux里的shell)
- 连接数据库Shell使用MySQL连接数据库的简单方法(shell通过mysql)
- 数据使用Shell指令读取MySQL数据库(shell读取mysql)
- 突破封禁,掌握MSSQL Shell的全新技能!(mssqlshell)
- Linux下使用Redis优化你的Shell命令(shell上redis)
- 脚本通过Redis获取Shell脚本的简单方法(redis获得shell)
- php调用shell的方法