[CentOS] Help with at Bash script

Wed Dec 3 05:07:47 UTC 2014
Keith Keller <kkeller at wombat.san-francisco.ca.us>

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