I have destroyed a bunch of non-essential files and I don't know why. I have been executing commands like:
tr -sc 'A-Za-z' '\n' > somefile.txt | less
there is no output (blank page with flashing END) and upon checking all the content from the file is erased.
Another command that erased a full text file
grep someword > someotherfile.txt | less