You worst moment on a Unix system - Psychology, Philosophy, and Licenses
Users browsing this thread: 8 Guest(s)
|
|||
(24-11-2020, 12:21 PM)s0kx Wrote: Earlier today I managed to accidentally create a file name * in a directory with other files. I almost ran If you want to talk about almost worst moment, a similar story keeps happening to me. I usually take a lot of screenshots in my home directory using scrot, so the screenshots all start with the current date and then the time and resolution. So normally what I do to remove them all is that I type: PHP Code: rm 2020-<tab>* Well, sometimes I type that and there's a single file in the directory that starts with "2020-", so the shell add a space after the name and I'm left with: PHP Code: rm 2020-11-24-173440_1366x768_scrot.png * Fortunately, I've never executed it... so far at least. |
|||