Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: understanding file type

by tomfahle (Priest)
on Jun 10, 2009 at 05:57 UTC ( #770204=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    
        print "$file:\n\t", MagicFile( $file ), "\n";
    }
    
  2. or download this
    /bin/ls:
            ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for 
    +GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped
    ...
            ASCII text
    /etc/motd:
            symbolic link to `/var/run/motd'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2021-12-03 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (28 votes). Check out past polls.

    Notices?