quasi-[OT] Adobe Flash
Petrus de Calguarium
pgueckel at gmail.com
Wed Oct 20 22:25:16 UTC 2010
Suvayu Ali wrote:
>> dupe_flash ()
>> {
>>pid=$( ps -fu `whoami`| egrep 'libflashplayer\.so'| egrep -om 1 -E
>>'\<[0-9]+\>'| head -1 ); fid=$( lsof -p $pid | egrep '/tmp/Flash'| egrep
>>-om 1 -E '\<[0-9]+[a-z]\>'| tr -d 'a-z'); cp /proc/${pid}/fd/${fid}
>>~/flashtmpfile
>> }
Thanks!
PS:
Duh... I really don't understand what that does, but I guess I could add it to
my .bashrc and see if the new function works for me. I don't like taking
scripts from anyone, but I will see if I can decipher it. At first glance, it
does seem harmless.
Are you trustworthy ;-)
More information about the users
mailing list