New Year’s Resolution: Use /tmp

December 25, 2006 at 9:41 pm 2 comments

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: , , .

The watch Command Duplicates: The Horror!!!

2 Comments Add your own

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

    this is where /usr/bin/mktemp comes in handy 🙂


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

    This is a week for learning new commands. 🙂 Thanks.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


%d bloggers like this: