三种模式一般模式:可以进行复制、粘贴和删除等操作编辑模式:按 i 或 a 进入编辑模式,按 Esc 回到一般模式命令模式:按 / 或 ? 或 : 进入命令模式,按 Esc 回到一般模式移动操作h j k l:用来控制光标移动gg:返回顶部G:回到底部:n:跳到n行(n是数字)ctrl+f 和 ctrl+b:屏幕向前向后滚动0和shift+4:回到本…
1、firewalld的基本使用启动:systemctl start firewalld关闭:systemctl stop firewalld查看状态:systemctl status firewalld 开机禁用:systemctl disable firewalld开机启用:systemctl enable firewalld2.systemc…
SuperBench脚本:1、中文版 wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh 2、英文版 wget -N --no-che…
Linux ssh 安全设置,Linux默认的SSH端口是22,为了安全性就需要修改掉默认的SSH端口号,防止被穷举密码。禁止root登录,新建普通用户登录。修改SSH默认端口编辑/etc/ssh/sshd_config 文件vim /etc/ssh/sshd_config 找到Port 22 改成Port 10086 重启ssh/etc/init…