lkml.org 
[lkml]   [1996]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: statically linked ELF executables?
On Mon, 22 Apr 1996 phaedrus@dreamscape.com wrote:

> So how could I do
>
> file /usr/local/bin/* | grep "static" # Finds statically linked local
> binaries
>
> using ldd?

just type:

for N in /usr/local/bin/*; do do ( echo -n $N:; ldd $N ) 2>/dev/null |
grep 'statically linked (ELF)'; done

-- mino




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.036 / U:1.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site