Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^11: shebang anomaly

by afoken (Chancellor)
on Apr 24, 2018 at 22:46 UTC ( [id://1213503]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /tmp>echo 'echo Hello from the shell' > demo
    /tmp>chmod +x demo
    ...
    /tmp>./demo
    -bash: ./demo: Permission denied
    /tmp>
    
  2. or download this
    /tmp>echo '#!/tmp/defrag.exe' > demo
    /tmp>echo 'echo Hello from the shell' >> demo
    ...
    /tmp>./defrag.exe
    -bash: ./defrag.exe: cannot execute binary file: Exec format error
    /tmp>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-23 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found