add a line at the end of a file linux

Shell
echo 'text here' >> filename
Source

Also in Shell: