Can linux cat command be used for writing text to file? October 16, 2022 by Tarik That’s what echo does: echo "Some text here." > myfile.txt