How to run multiple commands in parallel
2023. 6. 20. 17:05ㆍDev
728x90
반응형
Problem:
I want to run multi commands simultaneously in zsh.
I need to create multi cluster with eksctl at the same time.
Because running them sequentially is inefficient and takes a long time.
Solution:
eksctl create cluster -f host.yaml & eksctl create cluster -f cluster1.yaml & eksctl create cluster -f cluster2.yaml && fg
Source:
https://www.ibm.com/docs/en/aix/7.2?topic=f-fg-command
'Dev' 카테고리의 다른 글
How to solve error while creating s3 bucket AccessControlListNotSupported: The bucket does not allow ACLs (0) | 2023.08.23 |
---|---|
Helm Error repo grafana not found (0) | 2023.06.26 |
데브옵스를 위한 리눅스 (0) | 2023.06.08 |
데브옵스란 무엇인가 (0) | 2023.06.08 |
브랜치 쓰지 마세요. 여러 GitOps 환경에 배포할 때요 (0) | 2023.06.01 |