Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Bootvis
· 14y ago · 0 comments
I can't check it right now but I do wonder whether /dev/null as a filename would have worked.
Does somebody know?
Comments
[–]
e12e
14y ago
I 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
OP
14y ago
Agreed, and I used it but I was really surprised that it worked!
[–]
bithive123
14y ago
You could also pass it nothing, e.g. ?filename=&attempt=
[–]
bct
14y ago
Yes, I used /dev/null.