Re: Open file descriptors

2007-01-18 Thread Andreas Schwab
Richard Ray <[EMAIL PROTECTED]> writes: > Other than lsof is there a way to determine what file descriptors are > open? $ (exec 4<&$n) 2>/dev/null && echo fd $n is open Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany P

Re: Open file descriptors

2007-01-18 Thread Matthew Woehlke
Richard Ray wrote: Other than lsof is there a way to determine what file descriptors are open? I very much doubt there is a portable way, if that's what you're asking... On Linux there is also /proc/fd, I think? -- Matthew "What a wonderful smell you've discovered!" -- Princess Leia Organa

Open file descriptors

2007-01-18 Thread Richard Ray
Other than lsof is there a way to determine what file descriptors are open? Thanks Richard ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash