๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10937

Re: generar ficheros que no se machaquen

#10937
From: Santiago Romero
Date: Thu, 17 Jan 2002 10:09
21 lines
1535 bytes
El Wed, 16 Jan 2002 23:54:29 +0100, Raul Luna Rodriguez escribi๏ฟฝ:
>>         Estoy haciendo un script que necesita crear un temporal para
>> grabar una salida... pero no se que comando del bash hay para darle un
>> nombre aleatorio no concurrente...

 man mktemp:


 TMPFILE=`mktemp -q /tmp/temporal.XXXXXX`


-- 
Santiago Romero
Departamento de Sistemas
sromero@servicom2000.com

Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com
Technical Details
Message-ID: <slrna4d8m0.vj7.sromero@compiler.servicom2000>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!top.servicom2000.COM!not-for-mail
References: <3c2c5015.8267927@news.mad.ttd.net> <3C4604A5.60311DEA@navegalia.com>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,735922ea4c4ad7b7
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-01-17 02:28:27 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!top.servicom2000.COM!not-for-mail
From: Santiago Romero <sromero@servicom2000.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: generar ficheros que no se machaquen
Date: Thu, 17 Jan 2002 11:09:04 +0100
Lines: 22
Message-ID: <slrna4d8m0.vj7.sromero@compiler.servicom2000>
References: <3c2c5015.8267927@news.mad.ttd.net> <3C4604A5.60311DEA@navegalia.com>
Reply-To: sromero@servicom2000.com
NNTP-Posting-Host: top.servicom2000.com (212.101.64.178)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1011263304 32510976 212.101.64.178 (16 [39726])
X-Orig-Path: 127.0.0.1!nobody
User-Agent: slrn/0.9.7.3 (Linux)