Name | Type | Required | Default | Hint |
contents | string | true | Contents to append to the file | |
file | string | true | File to append to |
Append to existing text in a file. Will add a newline automatically
fileAppend "My new line" file.txtYou can pipe text into it.
echo "My new line" | fileAppend file.txtThis command is also used internally for redirection when you use the >> symbol.
echo "Step 3 complete" >> log.txt