Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Capture::Tiny getting stuck on ldd /proc/self/fd/1

by shmem (Chancellor)
on Jun 22, 2021 at 15:22 UTC ( [id://11134168]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Capture::Tiny getting stuck on ldd /proc/self/fd/1
in thread Capture::Tiny getting stuck on ldd /proc/self/fd/1

These only provide the MIME type:

perl -MFile::MMagic -E 'say File::MMagic->new->checktype_filename(pop) +' /usr/lib/x86_64-linux-gnu/libHalf.so.12.0.0 application/octet-stream perl -MFile::Type -E 'say File::Type->new->checktype_filename(pop)' /u +sr/lib/x86_64-linux-gnu/libHalf.so.12.0.0 application/x-executable-file

update

File::LibMagic is more informative:
perl -MFile::LibMagic -E 'say File::LibMagic->new->info_from_filename( +pop)->{description}' /usr/lib/x86_64-linux-gnu/libHalf.so.12.0.0 ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically li +nked, BuildID[sha1]=442946ad0e7c43d51d7b05c7a73e02273b9b56d2, strippe +d

Thanks, choroba.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-03-29 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found