Subscribe to
Posts
Comments
NSLog(); Header Image

-rf

Just don't create a file called -rf.
-- Larry Wall in <11393@jpl-devvax.JPL.NASA.GOV>

I wonder how many years ago that was, because surely Larry knows that you can "rm -- -rf." But then again, in Perl, who knows. Maybe that'll cause issues. Anyway, how often has this ever come up? Who has ever named a file -rf?

This post is mostly a reminder to me to learn Perl again dammit. But it's kinda funny too.

One Response to "-rf"

  1. Hmm. In circumstances where one ends up with some weird characters in a filename I always refer to it as ./FILENAME i.e. "rm ./-rf"


Comments RSS

Leave a Reply


Warning: Undefined variable $user_ID in /var/www/vhosts/nslog.com/httpsdocs/wp-content/themes/nslog/comments.php on line 96

Please abide by the comment policy. Valid HTML includes: <blockquote><p>, <em>, <strong>, <ul>, <ol>, and <a href>. Please use the "Quote Me" functionality to quote comments.