Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

Variable lost after a pipe loop?

This interview card answers: Variable lost after a pipe loop? A pipe runs the loop in a subshell. Read from a file or < <( ) instead. Example.

Variable lost after a pipe loop? A pipe runs the loop in a subshell. Read from a file or < <( ) instead. Example.
Variable lost after a pipe loop? · Download PNG
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

See all AWS revision cards