Linux查各種
1.查系統版本
1. CentOS
cat /etc/system-release

2. Ubuntu
cat /etc/lsb-release

3. Manjaro
cat /etc/lsb-release

4. Deepin
cat /etc/lsb-release

2. 查記憶體(所有release使用相同命令)
free -h

3. 查CPU型號(所有release使用相同命令)
cat /proc/cpuinfo

4. 查MAC地址(所有release使用相同命令,前提是安裝 net-tools)
ifconfig | grep ether

5. 查系統安裝日期(所有版本相同,部分系統需要使用sudo才能使用命令)
passwd -S daemon

相關文章
- 各種並查集並查集
- Linux 各種運算子Linux
- docker Linux 各種操作記錄DockerLinux
- spring和Mybatis的各種查詢SpringMyBatis
- Linux各種變數的含義Linux變數
- linux安裝zookeeper中各種坑Linux
- Linux Shell中各種括號用法總結!Linux
- SpringBoot操作ES進行各種高階查詢Spring Boot
- 各種免費好用的api,含天氣查詢、IP查詢、物流查詢等API
- 各種加速
- mysql資料庫操作之------查的各種小細節MySql資料庫
- 如何在linux上下載各種常用安卓應用Linux安卓
- Linux系統各種庫/軟體版本輸出指令Linux
- 各種各樣的映象加速
- 各種主義
- stream流各種
- 各種Redistributable 下載Redis
- [Python] 各種轉換Python
- 聊聊各種常量池
- 各種居中方案
- NR中各種ID
- jupyter notebook各種操作
- 各種Fourier變換
- C++ Primer 查漏補缺 —— C++ 中的各種初始化C++
- 各種各類好用熱門API推薦API
- Ubuntu下Linux配置核心各種常見錯誤和解決辦法UbuntuLinux
- GitHub-shanghai/jqview:JSON各種查詢過濾的免費開源工具GithubAIViewJSON開源工具
- 免費api推薦,各種各樣的都有~API
- 初賽De各種各樣的知識點
- Java各種規則引擎Java
- git各種撤銷提交Git
- iOS 各種螢幕尺寸iOS
- postman中各種變數Postman變數
- 各種CSS居中方案CSS
- echart 各種圖實現
- 各種線上jquery引用jQuery
- 各種技術論壇
- python各種加解密方法Python解密