How to run command or code in parallel in bash shell under Linux or Unix (www.cyberciti.biz)
from JoeKlemmer@lemmy.myserv.one to linux@lemmy.ml on 14 Dec 2023 19:38
https://lemmy.myserv.one/post/4938218

From nixCraft

#linux

threaded - newest

db2@sopuli.xyz on 14 Dec 2023 20:11 next collapse

Why would you make a one line command in to a function 🤣

WalrusByte@lemmy.world on 14 Dec 2023 20:21 next collapse

It’s just a proof of concept. They wanted to keep it clean and easy to read while still showing off how to run the function in the background

db2@sopuli.xyz on 15 Dec 2023 00:14 collapse

Adding three extra lines to call a single command makes it clean? Remind me not to hire you.

Helix@feddit.de on 15 Dec 2023 00:52 next collapse

Do you know what the word ‘example’ means? There are people who aren’t as superbly knowledgeable as you are.

eager_eagle@lemmy.world on 15 Dec 2023 01:04 next collapse

only a masochist would want to work with anyone this dense

cashews_best_nut@lemmy.world on 16 Dec 2023 00:24 collapse

What’s the point in commenting just to be a dick head?

db2@sopuli.xyz on 16 Dec 2023 03:11 collapse

You tell me.

MonkderZweite@feddit.ch on 15 Dec 2023 18:56 next collapse

Repeated usage.

db2@sopuli.xyz on 15 Dec 2023 23:32 collapse

It’s only called once.

sebsch@discuss.tchncs.de on 21 Dec 2023 22:29 collapse

Readability counts, toxic comments … not sure

superbirra@lemmy.world on 15 Dec 2023 04:05 next collapse

xargs section is missing

gnuplusmatt@reddthat.com on 15 Dec 2023 23:59 next collapse

Ctrl + z

Bg

superbirra@lemmy.world on 16 Dec 2023 13:47 collapse

lol no

mhz@lemm.ee on 16 Dec 2023 09:15 collapse

Learn how to use tmux

youtube.com/playlist?list=PLT98CRl2KxKGiyV1u6wHDV…

PipedLinkBot@feddit.rocks on 16 Dec 2023 09:15 next collapse

Here is an alternative Piped link(s):

https://piped.video/playlist?list=PLT98CRl2KxKGiyV1u6wHDV8VwcQdzfuKe&si

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source; check me out at GitHub.

superbirra@lemmy.world on 16 Dec 2023 13:48 collapse

mmh yeah… but no.