使用 rm -rf xxx.swp 删除出现的swp文件
在vi/vim中进行搜索
1. 按/
。
2. 输入搜索模式或者字符串。
3. 按Enter
执行搜索。
4. 按n
查找 下一个事件或N
查找上一个事件。
按i进入编辑模式
退出编辑模式并保存: 按键esc退出insert模式,然后输入:wq。如果只按键q, 则是只退出不保存。
特定需求:
修改PVE的最大内核数,解决MAX vcpus allowed per VM on this node报错
PVE开VM报MAX vcpus allowed per VM on this node原因以及解决_() task error: max 8 vcpus allowed per vm on this -优快云博客