linux_systeminfo:用于登录终端终端时显示系统相关信息的小脚本

时间:2021-03-22 18:09:11
【文件属性】:
文件名称:linux_systeminfo:用于登录终端终端时显示系统相关信息的小脚本
文件大小:4KB
文件格式:ZIP
更新时间:2021-03-22 18:09:11
debian ubuntu centos Shell systeminfo.sh是基于CentOS,Debian,Ubuntu的一个简单的获取系统信息的shell脚本,目的是使用户登录终端终端时显示系统相关信息,首次编写,若存在适应的问题欢迎提问题 食用方法: 导入脚本下载至系统,命令chmod +x systeminfo.sh赋值脚本调用权限,并用bash systeminfo.sh命令执行即可输出信息至终端 脚本运行时,会检测系统是否拥有ifconfig命令,该命令用于统计相关的网卡数据流量,若机器无该命令,脚本会自行安装net-tools工具,您也可以提前安装上net-tools工具,命令如下: CentOS: yum install net-tools -y Debian,Ubuntu: apt install net-tools -y 一键脚本食用: 更新软件库并安装wget CentOS: yum update -y
【文件预览】:
linux_systeminfo-main
----README.md(2KB)
----systeminfo.sh(10KB)

网友评论