摘要:
use arcd srcar -cvq libprotobuf.a *.o 阅读全文
摘要:
get current thread count grep -s '^Threads' /proc/[0-9]*/status | awk '{ sum += $2; } END { print sum; }'get the system thread limitcat /proc/sys/kernel/threads-max 阅读全文
摘要:
1. remove temporary files, only used for test purpose. ls | sed -e "/^term.sh$/d" | sed -e "/^test.cpp$/d" | sed -e "/^Makefile.am$/d" | sed -e "/^aut... 阅读全文
摘要:
if we want to filter with sed pattern and just print the filtered lines without any further editing , we can do it like thisls -a1 ~ | sed -ne "/^\./p... 阅读全文