Linux_CMD_FOR_OS_INFO
1,系统版本 : lsb_release -a
2,系统信息(86/64): uname -a
3,键盘信息:localectl status
4,系统支持的键盘:localectl list-keymaps | grep -i search_term
localectl list-keymaps | grep -i search_termffg
5,分区信息(各分区大小): lsblk //挂载点是实际可访问的目录
5,分区信息(文件格式):lsblk -f
5, 内存大小: free -h
6,用户信息:cat /etc/passwd
7,网络信息:ifconfig -a
8,防火墙开关:firewall -cmd --state
9,hostname等系统信息:hostnamectl
10,gateway:ip r
10, gateway: route -n
11,DNS服务器:cat /etc/resolv.conf
12,时区:date +%Z
13,SELinux状态:/usr/sbin/sestatus -v
14,时区,对时:timedatectl status
15,本地域名配置:cat /etc/hosts
16,禁用ctrl+Alt+Del:/etc/systemd/system$ find ctrl* /usr/lib/systemd/system$ find ctrl* 删除.target
/etc/systemd$ cat system.conf 将其中#CtrlAltDelBurstAction=reboot-force 修改为CtrlAltDelBurstAction=none
17,Runlevel, 5带窗口,3带网络:runlevel
18,Bonding Mode:/proc/net/bonding$ cat bond0
19,查看Mount信息:cat /etc/mtab
19,查看Mount信息:findmnt
Linux_CMD_FOR_OS_INFO的更多相关文章
随机推荐
- shrio
Shrio 页面报错 <link rel="shortcut icon" href="#"/> 简单的安全框架 官网:https://shiro.a ...
- vue3和vue2的区别
一.Vue3介绍 Vue 新版本的理念成型于 2018 年末,当时 Vue 2 的代码库已经有两岁半了.比起通用软件的生命周期来这好像也没那么久,但在这段时期,前端世界已经今昔非比了 在更新(和重写) ...
- 磁盘有限,Docker 垃圾很多怎么办
你的电脑上可能 pull 或者 build 了很多 Docker 镜像,但是你不知道怎么清理,本文将介绍如何清理 Docker 垃圾的常见方法. docker prune 你可以通过原生的多种 pru ...
- LG P4449 & JZOJ 于神之怒
\(\text{Problem}\) JZOJ上,求 \[\sum_{i=1}^n \sum_{j=1}^m \gcd(i,j)^k \] 对 \(10^9+7\) 取模 \(n,m,k \le 5 ...
- CenterOS7上搭建RabbitMQ集群
1 保证多个主机之间能够互相访问 修改host , vi /etc/hosts 例如修改成下面的内容: 192.168.10.157 rabbitmq-1 192.168.10.159 rabbitm ...
- LeetCode-432 全O(1)的数据结构
来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/all-oone-data-structure 题目描述 请你设计一个用于存储字符串计数的数据结构 ...
- UVM——callback机制应用示例
对应代码: 1.在UVM组件中主操作函数或者任务之前或者之后内嵌callback函数或任务 1 class driver extends uvm_driver #(transaction); 2 `u ...
- 腾讯QQ v9.7.3.28946 绿色优化版
修改历史: 2023.02.13:自改官方 9.7.3.28946 最新正式版本2023.01.15:自改官方 9.7.1.28940 最新正式版本2023.01.07:自改官方 9.7.1.2893 ...
- grafana嵌入iframe,去除菜单和上方工具条
1.首先修改grafana的配置:etc/grafana/grafana.ini,修改下面这两个配置为true 2.由于项目使用了nginx,要启用https,需要修改下面这几个配置:(不需要启用ht ...
- Java--Comparable接口实现,控制数组和列表的排序
实现Comparable 接口,可以获得的排序方法有 列表排序 Collections.sort(); 数组排序 Arrays.sort(); sort()方法中的参数是可以获取排序索引的对象或者按照 ...