Linux相关命令操作

#批量注释
Ctrl  +   V  ,然后用方向键选中范围
Shit  +   i   ,进入编辑模式,输入# 
esc  让注释生效

#批量取消注释
Ctrl  +   V  ,然后用方向键选中范围,
x
esc  让注释生效

#定位到某一行
vim +n filename   # 定位到第15行,vim +15 hello_world.py

# 清屏
clear

# 刷新终端屏幕
reset
原文地址:https://www.cnblogs.com/songxiaohua/p/9368718.html