PS # # (All) is the process running on the front end
PS-A # #shell中的进程
-X # #shell processes running in the background
Check the resource occupancy rate to add O, and%
Aux is the view process,%cpu,%mem is the resource occupancy rate of the process
It is not ctl+c to stop when running in the background.
CTL Z # #打入后台
Jobs # #查看后台运行的进程
Gedit & # #一个文件在创建的时候就让他在后台运行
Kill to send a signal to the tool
1 Reload # #不停止的情况下, let the process reread the configuration file
2 # #ctl C Delete process
3 # #内存中鼠标信号
8.top command
18 Pause
19 Open
CTL Z # #打入后台
U username
K Signal
H
S # #设置每隔几秒刷新
M
C
R # #重新设定优先级, the smaller the number, the higher the priority
Systemctl Start sshd # #开启sshd服务
Stop
Restart
Systemctl List-dependencies # #列出默认服务的依赖关系
List-dependencies sshd # #列出sshd服务的依赖关系, that is, what service is needed to start the service first
list-units# #列出默认的服务开启状态
Llst-unit-files # #
Set-default Muti-user.target # #关闭图形界面
Set-default Graphical.target # #在命令行下打开图形界面, just back up.
The premise is rm-fr/root/.ssh/# #删除前提条件
Ssh-keygen # #先创建秘钥对, Public and private key, locks and keys
cd/root/.ssh/# #进入目录
Ssh-copy-id-i id_rsa.pub root.172.25.20.11 # #用公钥锁定本机 (server),
SCP Id_rsa [Email protected]:/root/.ssh/# #分发密钥, give the key to the client
RHT-VMCRL fullreset Desktop # #重起失败后要删掉缓存文件virt-manager
Vim/etc/ssh/sshd_config # #修改配置文件, 78 lines to No, finished systemctl restart sshd Restart, other users do not have a private key can not access your server.
Linux Redhat Basic Operations 5