You worst moment on a Unix system - Psychology, Philosophy, and Licenses
Users browsing this thread: 1 Guest(s)
|
|||
(24-11-2020, 12:36 PM)venam Wrote:(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 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: Fortunately, I've never executed it... so far at least. My screenshots go to /tmp so I can let the regular cleanup deal with it. If the shell were to place a \<space> after the filename, it wouldn't match anymore (because of the space). Another alternative might be to just type 2020*, without <tab>-expansion. |
|||