You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1262,6 +1262,20 @@ bash -v scriptname
1262
1262
bash -x scriptname
1263
1263
```
1264
1264
1265
+
# 5. Multi-threading
1266
+
You can easily multi-threading your jobs using `&`. All those jobs will then run in the background simultaneously and you can see the processes below are running using `jobs`.
1267
+
1268
+
```bash
1269
+
sleep 15 & sleep 5 &
1270
+
```
1271
+
1272
+
The optional `wait`command will thenwaitfor all the jobs to finish.
0 commit comments