Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 252010

Create a temp file in Linux


To create a temp file in Linux, you can use the mktemp command


# mktemp foo.XXXXXXXXXXX


mktemp will replace XXXXX... by random characters and create that temp file for you.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>