代码改变世界

Useful linux commands

2012-09-12 20:07  康杜  阅读(158)  评论(0编辑  收藏  举报

1. free file buffers in linux

free -m

echo 3 > /proc/sys/vm/drop_caches

sync

 

2. find files containing specific strings

find . -exec grep -q mystring {} \; -print