If you have a file called myfile and you do cat > myfile instead of cat myfile (to see it's contents) I understand that it is overwritten. Is there any possible way to recover its contents? I tried doing Ctrl+C, but the file is still overwritten.
Recovering a file that is overwritten with cat >
files;io redirection;data recovery;deleted files