3 ms·
I can't check it right now but I do wonder whether /dev/null as a filename would have worked. Does somebody know?
by Bootvis 14y ago
I can't check it right now but I do wonder whether /dev/null as a filename would have worked.
Does somebody know?
- e12e 14y agoI guess it would've. I tried to think of stuff that lives under /etc mv -- didn't think of /dev/null. However the "empty filename fall trough" is better as it also works under a chroot without such files available.
- Bootvis 14y agoAgreed, and I used it but I was really surprised that it worked!
- bct 14y agoYes, I used /dev/null.
- deleted 14y ago[deleted]
- bithive123 14y agoYou could also pass it nothing, e.g. ?filename=&attempt=