[CentOS] Help with at Bash script

Keith Keller
Wed, 03 Dec 2014 05:07:47 -0000

On 2014-12-03, Hal Wigoda <hal.wigoda at gmail.com>
wrote:
> You have to do
>      cat domain
> in back tiks
>
> instead of read domain.

This is an error you can't blame on your device.  domain is not a file,
but a bash variable.  read takes stdin (which is what the OP's snippet
is doing) and populates the named variable(s) (domain in this case).

--keith


--
kkeller at wombat.san-francisco.ca.us