摘要: Run bash(e.g. ls) in vim :!ls Window's movement Ctrl-w + h/j/k/l move the cursor to the left, below, above, or right window respectively Ctrl-w + ←/↓/ 阅读全文
posted @ 2024-05-02 21:36 摩斯乱码 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 输出指定的列 echo "hello world" | awk '{print $1$2$3}' $? means display the ? column 输出最后一列 awk '{print $NF}' 阅读全文
posted @ 2024-05-02 21:28 摩斯乱码 阅读(1) 评论(0) 推荐(0) 编辑
摘要: scp (if the private key is id_rsa, [-i] can be removed) scp -i key -P port localfile user@ip:path back to the beginning of line Ctrl + a go to the end 阅读全文
posted @ 2024-05-02 21:15 摩斯乱码 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 音频 转换mp3为ogg格式 ffmpeg -i input.mp3 -c:a libvorbis output.ogg 降低音量(例如50%) ffmpeg -i input.mp3 -af "volume=0.5" output.mp3 视频 转换mkv为mp4并进行无损压缩 ffmpeg -i 阅读全文
posted @ 2024-05-02 21:14 摩斯乱码 阅读(2) 评论(0) 推荐(0) 编辑