[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/proc filesystem



There is a nice trick to avoid cut/copy/paste of large text portions:

cat filename > /proc/1234/fd/3

while 1234 is the process number of a telnet process. fd/3 is the file
descriptor for the channel linked to the keyboard. Works perfectly on a
suse distribution, seems not to work with debian! I get a

bash: /proc/4125/fd/3: Permission denied

probably helpful: on debian file gives

$ file /proc/4125/fd/3
/proc/4125/fd/3: broken symbolic link to [0000]:184934

while on the suse box it gives

godot@fintower:~$ file /proc/21144/fd/3
/proc/21144/fd/3: broken symbolic link to [0000]:0

any clues?
--
Lukas Eppler (godot)
                                                  http://www.fear.ch
                                                  telnet://soil.fear.ch:3333
                                                  talk:godot@moon.fear.ch 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: