on-internet
← Community

Heredoc Bash Syntax

Stack Overflow ·

given that cat << EOF > config.txt Setting1=value1 Setting2=value2 Setting3=value3 EOF i'm confused about why not cat << EOF Setting1=value1 Setting2=value2 Setting3=value3 EOF > config.txt and how linux behave as documentation of HEREDOC will not explain this behaviour thanks

Comments

Sign in or sign up to comment and upvote.

No comments yet.