write into a file using echo code example Example: how to echo to a file in linux echo "something" >> file