man write c code example
Example: linux write
# Linux - Bash
#syntax
# echo -e "*<string-to-append>" >> *<file-name>
# example
echo -e "aaa" >> test_1.txt
# Linux - Bash
#syntax
# echo -e "*<string-to-append>" >> *<file-name>
# example
echo -e "aaa" >> test_1.txt