Skip to content

nixCraft

Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

  • About
  • Howtos and tutorials
  • Linux Shell Scripting Tutorial
  • RSS/FEED
  • DONATIONS
Search

nixCraft

Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

nixCraft

Tag: mktemp command

BASH Shell: HowTo Create Empty Temporary Files Quickly

in Categories Shell scripting last updated March 23, 2005

Use any one of the following command to create temporary empty file names. The first command is special as it use the redirection operator >, the redirection refers to the standard output. So you are creating a new file or destroying existing file:

12 Comments

Shell scripting (BASH) : How to create temporary random file name

in Categories Linux, Shell scripting, Tips, UNIX last updated March 23, 2005

Sometimes you need to create a temporary file in your shell script. There are various methods exist to create a random temporary file name. It is quite useful if your application/shell scripting needs temporary unique file names.

14 Comments

Featured Articles:

  • 30 Cool Open Source Software I Discovered in 2013
  • 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
  • Top 30 Nmap Command Examples For Sys/Network Admins
  • 25 PHP Security Best Practices For Sys Admins
  • 20 Linux System Monitoring Tools Every SysAdmin Should Know
  • 20 Linux Server Hardening Security Tips
  • Linux: 20 Iptables Examples For New SysAdmins
  • Top 20 OpenSSH Server Best Security Practices
  • Top 20 Nginx WebServer Best Security Practices
  • 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
  • 15 Greatest Open Source Terminal Applications Of 2012
  • My 10 UNIX Command Line Mistakes
  • Top 10 Open Source Web-Based Project Management Software
  • Top 5 Email Client For Linux, Mac OS X, and Windows Users
  • The Novice Guide To Buying A Linux Laptop

Sign up for my newsletter

Sign up for my newsletter

Follow us

TwitterFacebookGoogle+



RSS Recently updated

  • How To Use Bash Parameter Substitution Like A Pro
  • How To Run Multiple SSH Command On Remote Machine And Exit Safely
  • Delete all root mail / inbox on Linux / Unix from a shell prompt
  • How to use lftp to accelerate ftp/https download speed on Linux/UNIX
  • How To Recover Linux Grub Boot Loader Password
  • OpenBSD install or add binary software package using pkg_add
  • How to use yum-cron to automatically update RHEL/CentOS Linux
  • Download Tux Paint Program For Young Children (Linux/macOS/Windows)
  • Linux Find Out Last System Reboot Time and Date Command
  • Linux wget: Your Ultimate Command Line Downloader
nixCraft @2000-2018 nixCraft. All rights reserved.
  • PRIVACY
  • TERM OF SERVICE
  • CONTACT/EMAIL
  • DONATIONS
Hosted by Linode
DNS & CDN by Cloudflare
Designed and Developed by Prospect One