Skip to main content
Account
Guide

Tip 3: Create a `tmp` Alias

David Flanagan Jan 03, 2020 1 min read

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

Terminal window
alias tmp=' cd $(mktemp -d)'
Published Jan 03, 2020

Related Articles

Rawkode Academy newsletter

Academy publications by email

Get an email when Rawkode Academy publishes new tutorials, articles, and videos.

Loading email signup. If it does not load, manage email preferences in account settings.