How to run command or code in parallel in bash shell under Linux or Unix https://www.cyberciti.biz/faq/how-to-run-command-or-code-in-parallel-in-bash-shell-under-linux-or-unix/
Conversation
Notices
-
nixCraft 🐧 (nixcraft@mastodon.social)'s status on Thursday, 14-Dec-2023 11:26:50 JST nixCraft 🐧 -
3DMK (3dmk@mastodon.social)'s status on Thursday, 14-Dec-2023 15:23:47 JST 3DMK @nixCraft makes me realize that I neglected parallel an favorited xargs for maybe too long. Manpage of parallel is really quite extensive. Thx for the tip.
-
Micah Mangione (micahmangione@mastodon.social)'s status on Friday, 15-Dec-2023 02:18:20 JST Micah Mangione @nixCraft My three favorite Bash parallelization methods are:
1. Simply adding an & to the end of a command for processes that I don’t need to go review.
2. Screen for simple parallel detached processes.
3. Tmux for processes that need extensive manipulation somewhere in the process but can be backgrounded and I can work on other things.
-