[CentOS] Help with at Bash script

Hal Wigoda hal.wigoda at gmail.com
Wed Dec 3 05:15:22 UTC 2014


Never used that construct in this context.


On Tue, Dec 2, 2014 at 11:07 PM, Keith Keller
<kkeller at wombat.san-francisco.ca.us> wrote:
> 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
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos



-- 
-----------------
Hal Wigoda
Chicago



More information about the CentOS mailing list