Is something like this:
cat \"Some text here.\" > myfile.txt
Possible? Such that the contents of myfile.txt would now be overwr
myfile.txt
Here's another way -
cat > outfile.txt >Enter text >to save press ctrl-d