I'm used to Debian-based distros which have a tempfile(1) utility for safely and sanely creating temporary files. There isn't a comperable utility for RHEL/CentOS systems. I've been exercising Google-fu looking for a good robust tempfile generation idiom, but haven't turned one up yet. Hence this appeal to the lazyweb. -- Dr. Ed Morbius, Chief Scientist / | Robot Wrangler / Staff Psychologist | When you seek unlimited power Krell Power Systems Unlimited | Go to Krell!
On Fri, Mar 18, 2011 at 06:33:14PM -0700, Dr. Ed Morbius wrote:> I'm used to Debian-based distros which have a tempfile(1) utility for > safely and sanely creating temporary files. > > There isn't a comperable utility for RHEL/CentOS systems.Sure there is. mktemp; contained within the package with the same name. John -- <sxem> trying to play sturgeon while it's under attack is apparently not fun. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20110318/f13721f1/attachment-0001.sig>
Reasonably Related Threads
- how to access encrypted EXT3 partition from Windows
- Dell PERC H800 commandline RAID monitoring tools
- Remote-logging nginx? (or other non-syslog-enabled stuff)
- Run commands automatically when bringing up/down network interfaces?
- Get only script name with shell script