Linux users will appreciate this – the rest of you may care less…I can’t believe I’ve not done this before, but when editing a crucial file today with vi, I made an error or two and rather than correct them, I was going to close and reopen the file, without saving changes. :q! is what i meant to type, but I was too inaccurate and fast because I tapped :w key and hit enter by mistake. SIGH.
I appreciate it and have done worse. When deleting all files in all directories that, say, end in exe, don’t do this:
rm -rf * exe
Be sure you type: rm -rf *exe
I deleted all the files in the directory, as well as deleted all subdirectories in my home directory one time.
Your links to the websites of commenters still don’t work, btw.