in reply to Re: Recirect data and Filehandle manipulation (STDIN x Disk IO)
in thread Redirect data and Filehandle manipulation (STDIN x Disk IO)
After your response I found references for "< redirection" ("opens the file for input, default unit 0"), and confirm with lsof command:
script < input & # lsof -p PID COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME ... cut ... perl 20316 root 0r REG 8,2 43151 1564123 /root/av/mail.e +xploits perl 20316 root 1u CHR 136,2 4 /dev/pts/2 perl 20316 root 2u CHR 136,2 4 /dev/pts/2
Thank's for your response!
--
Marco Antonio
Rio-PM
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Redirect data and Filehandle manipulation (STDIN x Disk IO)
by Tanktalus (Canon) on Jul 01, 2005 at 17:53 UTC | |
by mda2 (Hermit) on Jul 01, 2005 at 22:44 UTC | |
by mda2 (Hermit) on Jul 01, 2005 at 19:38 UTC |