由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Re: help, how to generate a temp file name
相关主题
A simple questionhow to kill a login?
Help please! 怎么keep当前还在运行的child process[转载] 如何删除没用的进程
About exit/logout求助:ps的参数
如何将自己的程序后台运行(不用&)?如何命令查询某个端口运行的PID?
what is espdbd ?请教一个关于nohup的问题
a difficult questionRe: 没有chmod怎么改权限?
FreeBSD: Can't kill child process!how to compress several file under unix
同时运行sshd和rshdhow to find a file in unix
相关话题的讨论汇总
话题: generate话题: file话题: name话题: temp话题: tmpfile
进入Unix版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
I think he meant to use shell variables, hence $@ he mentioned.
Usually, the general method uses PID as part of the file name.
So if you have an unique program called mycgiprogram which temperarily
generate an HTML file, so you would specifiy a shell (/bin/sh)
variable:
TMPFILE=/tmp/mycgiprogram.$$.html
and put everything in $TMPFILE.
1 (共1页)
进入Unix版参与讨论
相关主题
how to find a file in unixwhat is espdbd ?
[转载] who are using Pro/Toolkita difficult question
[转载] perl help: how to copy, not linkFreeBSD: Can't kill child process!
about vi.同时运行sshd和rshd
A simple questionhow to kill a login?
Help please! 怎么keep当前还在运行的child process[转载] 如何删除没用的进程
About exit/logout求助:ps的参数
如何将自己的程序后台运行(不用&)?如何命令查询某个端口运行的PID?
相关话题的讨论汇总
话题: generate话题: file话题: name话题: temp话题: tmpfile