3 ms·
Filenames can contain plenty of happy stuff. $> touch -- -- $> rm -- usage: rm [-f | -i] [-dPRrvW] file ... unlink file $> rm -- -- $> touch \ $> t
by rmaccloy 17y ago
Filenames can contain plenty of happy stuff.
$> touch -- --
$> rm --
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
$> rm -- --
$> touch \
$> touch \\ \ \ . \-
favorites of malware authors everywhere.
- mncaudill 17y agoI instinctively cringe whenever I see an odd looking 'rm' command.
- aw3c2 17y agoOn a sidenote, creating a -i file in important directories can help against accidental "rm -rf"s. The -i will be given to rm as switch and rm will now prompt for each file. Of course backups are better but this might just safe your ass that certain time.