Running shell script in parallel

后端 未结 8 2043
无人及你
无人及你 2020-11-30 19:35

I have a shell script which

  1. shuffles a large text file (6 million rows and 6 columns)
  2. sorts the file based the first column
  3. outputs 1000 fi
8条回答
  •  醉话见心
    2020-11-30 20:26

    You might wanna take a look at runp. runp is a simple command line tool that runs (shell) commands in parallel. It's useful when you want to run multiple commands at once to save time. It's easy to install since it's a single binary. It's been tested on Linux (amd64 and arm) and MacOS/darwin (amd64).

提交回复
热议问题