多核cpu运行命令 parallel 可用于文本文件处理

parallel 命令 

cat bigfile.txt | parallel --pipe grep 'pattern'

gzip、sed、awk、grep、wc命令都可以通过paralle加速。

参考:

http://blog.chinaunix.net/uid-20662820-id-4023733.html

posted on 2018-01-26 21:00  BioinformaticsMaster  阅读(626)  评论(0编辑  收藏  举报

导航