New Year’s Resolution: Use /tmp

December 25, 2006

For a lot of small scripting projects and everyday stuff I find myself redirecting the output of some command to a file (usually called tmp/tmp?) for different purposes. This is perfectly fine. I know that if I come across a file called tmp it’s usually safe to delete, but having a bunch of “tmp” files left lying around undeleted just adds to the clutter in my $HOME. (Not to mention all the wasted KB’s of hard disk space ;) ) Then it occurred to me that the sole reason for /tmp’s existence is being a place to store temporary files. So this year one of my New Years resolutions is to keep all these “tmp” files in /tmp where they belong.

Entry Filed under: Linux. Tags: , , .

2 Comments Add your own

  • 1. Michiel  |  December 25, 2006 at 11:52 pm

    this is where /usr/bin/mktemp comes in handy :)

    BP

    Reply
  • 2. dosnlinux  |  December 26, 2006 at 2:29 am

    This is a week for learning new commands. :) Thanks.

    Reply

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Feeds

My Projects

Slackware

Archives