ip address:简写 ip a

ifup enp0s3

ping -c x url

hostname

软件安装

yum

yum install wget
yum remove wget

rpm

rpm -ivh x.rpm
rpm -e x

rpm -qa

进程

ps aux
top
kill -9 pid

编译运行C程序

  1. 安装编译器 gcc
  2. gcc a.c

远程登陆

yum install openssh
systemctl start sshd
ssh服务的端口号为22

网络 -》 高级 -》端口转发
2222 =》 22
127.0.0.1

systemctl enable sshd 系统开启时自动打开该服务
systemctl disable sshd
systemctl is-enabled sshd