Is something like this:
cat \"Some text here.\" > myfile.txt
Possible? Such that the contents of myfile.txt would now be overwr
myfile.txt
cat > filename.txt
enter the text until EOF for save the text use : ctrl+d
if you want to read that .txt file use
cat filename.txt
and one thing .txt is not mandatory, its for your reference.