Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 6
    That's pretty short already. Commented Jan 4, 2012 at 15:40
  • Can you clarify what you're asking for? As you've written your example, it looks equivalent to rm -rf "$oldname" &. I assume that doesn't do what you want, so a better example would be helpful. Commented Jan 4, 2012 at 16:22
  • 1
    @WarrenYoung it is equivalent, but frees up the name "$oldname" so I can use it without waiting for all its contents to be unlinked first. Commented Jan 4, 2012 at 17:11
  • 1
    In that case, then I'd say a function or alias is the way to make it shorter. Commented Jan 4, 2012 at 20:51