SyntaxFix
Write A Post
Hire A Developer
Questions
This should work:
cat "$API" >> "$CONFIG"
You need to use the >> operator to append to a file. Redirecting with > causes the file to be overwritten. (truncated).
>>
>