摘要: cat /proc/cpuinfo | awk -F: '/name/{print $2}' | uniq -c 读取文件,显示行号 nl -a.txt brace expansion 花括号扩展 echo a{A{1,2},B{3,4}}b mkdir {2009...2011}-0{1...9} 阅读全文
posted @ 2017-03-25 17:00 papering 阅读(1686) 评论(0) 推荐(0) 编辑
摘要: w 阅读全文
posted @ 2017-03-25 16:40 papering 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 实践: 1、 cat ~/bash.bashrc > a.sh cat a.sh > ~/bash.bashrc Vim可以用正则排序. Vim 有什么奇技淫巧? - 知乎 https://www.zhihu.com/question/27478597 Vim命令_Linux Vim命令:替换文本内 阅读全文
posted @ 2017-03-25 16:29 papering 阅读(349) 评论(0) 推荐(0) 编辑
摘要: w 答案: :q 执行失败 >提示-已经修改,但是尚未保存,+!强制不保存退出 :w 保存 阅读全文
posted @ 2017-03-25 10:47 papering 阅读(189) 评论(0) 推荐(0) 编辑
摘要: w 阅读全文
posted @ 2017-03-25 08:45 papering 阅读(112) 评论(0) 推荐(0) 编辑