Specifically mac, but for future reference for those that come across this post, this could be on any OS.
So am learning the command line, and one utility (perhaps the only one) which seems to be absent is being able to write to a file. I've done a search on google of course, as well as SU, though there doesn't even seem to be anything related to what am seeking, so now am here.
To be honest am quite surprised, I would of though that this would of been quite rudimentary.
echo
and might want to write to a file as part of a script or the like. What are you trying to ultimately use this for?