I just demonstrated this again: it could save you from an rm slip one day:
$ touch ./-@
You now cannot `rm *' in that directory.
TIL: touch "./-'-,-@" #FlowerPower (/via https://twitter.com/jpmens/status/1105453240001462273)
@jpmens I have a file called -i for exact this purpose
@_xhr_ works well too, but I prefer the look of the -@ when I ls(1) :)
@jpmens And it is -f resistent, nice :)
@jpmens rm -- *, rm ./*, am I missing something?
@unixtippse mkfs also works
But can we rm -@ ?
@tykayn dot slash
Invite-only Mastodon server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!