“Linux”的版本间的差异

来自姬鸿昌的知识库
跳到导航 跳到搜索
第6行: 第6行:
  
 
[[lsb_release]]
 
[[lsb_release]]
 
  
 
[[systemctl]]
 
[[systemctl]]
  
=== 包管理 ===
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|+
 
|+
 +
包管理
 
!distribution
 
!distribution
 
!软件管理机制
 
!软件管理机制
第18行: 第17行:
 
!在线升级机制(命令)
 
!在线升级机制(命令)
 
|-
 
|-
|Debian/Ubuntu
+
|Fedora/Red Hat/CentOS
|
+
|RPM
|
+
|[[rpm]]
|
+
|YUM([[yum]])
 
|-
 
|-
|
+
|Debian/Ubuntu
|
+
|DPKG
|
+
|dpkg
|
+
|APT([[aptitude]]、[[apt]]、apt-get、apt-cache......)
 
|-
 
|-
 
|
 
|
第33行: 第32行:
 
|
 
|
 
|}
 
|}
 +
 +
 
[[aptitude]](Ubuntu、Debian)
 
[[aptitude]](Ubuntu、Debian)
  

2022年8月16日 (二) 22:30的版本

Linux分支

Linux查看操作系统版本号

CentOS 和 RedHat

lsb_release

systemctl

包管理
distribution 软件管理机制 使用命令 在线升级机制(命令)
Fedora/Red Hat/CentOS RPM rpm YUM(yum
Debian/Ubuntu DPKG dpkg APT(aptitudeapt、apt-get、apt-cache......)


aptitude(Ubuntu、Debian)

apt(Ubuntu、Debian)


rpm(RHEL(Red Hat Enterprise Linux)、CentOS )

yum(CentOS 、RHEL(Red Hat Enterprise Linux)、Fedora)



netstat

Linux全文本搜索

less

vim

查看CPU和物理内存

/proc/meminfo 内存信息说明

free

top

ps

wget

ping

which

file

LANG

rz sz

net-tools


apt VS apt-get

apt-get VS apt VS aptitude