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.

3
  • 4
    You, sir or madame, are a life saver. Commented Jul 23, 2014 at 13:06
  • 1
    Combine this with redirection to a file ($alias > .bash_aliases, maybe with some file regexes to get it to the right place in the file) and you don't have to type it back into the original file yourself. (That is, if you haven't already typed it in.) Commented Jul 23, 2014 at 18:12
  • 1
    While this works, I don't see the benefit over just using 'alias'. The format isn't particularly useful by comparison. Commented Jul 24, 2014 at 8:01