Ravi Sir's Cards › AWS
Variable lost after a pipe loop?
What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.
Read card text
What this card says
What it is
A pipe runs the loop in a subshell.
Why it matters
Read from a file or < <( ) instead.
How / example
Example.
done < hosts.txt