Preventing Idle in telnet, security, and bg.
JIM BURNS
gt0178a at prism.gatech.EDU
Sat Sep 29 09:28:01 AEST 1990
in article <2911 at idunno.Princeton.EDU>, pfalstad at dae.Princeton.EDU (Paul John Falstad) says:
>>$ csh (or whatever)
>>% sleep 100 &
>>% kill -HUP $$
>>$ ps
> Well that was dumb of me. Of course this works in any shell, but it
You also might not want to use '$$'=current shell. Try '$!' in ksh, '%1'
in [ck]sh w/job control, or just use the PID reported by '&'.
--
BURNS,JIM
Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a
Internet: gt0178a at prism.gatech.edu
More information about the Comp.unix.questions
mailing list