Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • -bash: parallel: command not found. Does it have to be installed? Unfortunately, I don't have a superuser privilege. Commented Oct 18, 2017 at 2:41
  • your answer was very good but there's this big problem. when I execute that command, it returns the files with the patterns in it but also it returns all the pattern from pattern.txt as not found. And that is not good. A little more tweak on the command and your answer will be my best answer Commented Oct 18, 2017 at 3:15
  • @WashichawbachaW, it's obvious that new programm should be installed beforehand. Make sure that you are using GNU parallel, check parallel --version. As I wrote - I've tested your "scheme" and it worked fine. I suppose that the issue is on your side and you missed something or made some mistakes or your actual conditions differ from those mentioned in the question Commented Oct 18, 2017 at 6:15
  • I have this now GNU parallel 20170922 Copyright (C) 2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 Ole Tange and Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> Commented Oct 18, 2017 at 6:45
  • 1
    @WashichawbachaW The warning is a warning only: You should get the correct results. It is simply saying it can only run 252 in parallel. The rest will be run, when the first 252 have finished. If you want to run the 1800 processes in parallel, try the trick: gnu.org/software/parallel/… Commented Oct 18, 2017 at 20:16