Provided by: manpages-zh_1.5.2-1_all bug

NAME

     mktemp --

 (SYNOPSIS)
     mktemp [-q] [-u] template

 (DESCRIPTION)
     mktemp   ,   ,   .    ,    .    , 'X' /tmp/temp.XXXXXX.  'X'   /    .

      mktemp   ,  0600 ( -u )  ,      .

     mktemp   shell    .   shell       PID  ,   .     ,     .          ,     .
     ,      .  mktemp.

 (OPTIONS)
     :

     -q        .     .

     -u       ``''  .  mktemp     .  mktemp(3)  ,     .    .

 (RETURN VALUES)
     mktemp   0,   1.

 (EXAMPLES)
      sh(1) mktemp  ,     ,   .

           TMPFILE=`mktemp /tmp/$0.XXXXXX` || exit 1
           echo "program output" >> $TMPFILE

     ,        .

           TMPFILE=`mktemp -q /tmp/$0.XXXXXX`
           if [ $? -ne 0 ]; then
                   echo "$0: Can't create temp file, exiting..."
                   exit 1
           fi

 (SEE ALSO)
     mkstemp(3), mktemp(3)

 (HISTORY)
      OpenBSD

[]

      <xuming@users.sourceforge.net>

[]

     2003/05/13

Linuxman

     http://cmpp.linuxforum.net