05 2015 档案

摘要:1.delete all executable files under certain directoryfind /directory -type f -executable -deleteorfind /directory -type f -executable -exec rm -f {} ... 阅读全文
posted @ 2015-05-13 23:25 fosmj 阅读(167) 评论(0) 推荐(0)
摘要:Stacktypedef struct{ int *elem; int length; int alloc_length;}stack;void stack_init(stack &s){ s.length = 0; s.alloc_length = 4; s.e... 阅读全文
posted @ 2015-05-10 23:28 fosmj 阅读(206) 评论(0) 推荐(0)
摘要:The process to add 4G swap on your original swap:1.Create a 4G swap file$ size="4G" && sudo fallocate -l $size /$size-swap && sudo mkswap /$size-swap ... 阅读全文
posted @ 2015-05-08 21:48 fosmj 阅读(202) 评论(0) 推荐(0)