Linux
u010157717
这个作者很懒,什么都没留下…
展开
-
VI
#1 字符替换为换行:s/ABCD/\r/g原创 2015-08-12 09:57:47 · 269 阅读 · 0 评论 -
Linux命令汇总
#1 查看当前目录所占空间du -msh#2 查看磁盘空间df -m原创 2013-08-07 02:17:05 · 470 阅读 · 0 评论 -
Exit Codes
Part 1: Advanced Bash Scripting Guide1: Catchall for general errors2: Misuse of shell builtins (according to Bash documentation)126: Command invoked cannot execute127: "command not found"1原创 2016-07-26 02:00:33 · 587 阅读 · 0 评论 -
Linux create patch, apply and revert
cp file file.origmake your edits to filecreate patchdiff -u file file.orig > file.patchapply patchpatch -p0 reverse patchpatch –p0 -R原创 2017-02-08 09:35:22 · 1165 阅读 · 0 评论