how to echo to a file in linux

Shell
echo "something" >> file
Source

Also in Shell: