DEV Community 👩‍đŸ’ģ👨‍đŸ’ģ

Cover image for Tip 3: Create a `tmp` Alias
David McKay
David McKay

Posted on

Tip 3: Create a `tmp` Alias

Nobody ever tells you this, but it's true for everyone ... you'll need to trust me...

There's going to be a time in your life when you create a directory called stuff (or things, or tmp, or delete-me, and so forth) to perform some random crappy test.

You'll never delete this directory. Honestly. You'll end up putting it in some archive directory and it'll live forever.

Well, enough is enough.

Create this alias. Now.

Use it with the same glutenous desire you feel when you're reaching for that last piece of chocolate, from the bag you opened three and a half minutes ago.

You're welcome

alias tmp=' cd $(mktemp -d)'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

🌱 DEV runs on 100% open source code known as Forem.

 
Contribute to the codebase or learn how to host your own.