Home » Questions » Computers [ Ask a new question ]

How to execute a part of a (text)file?

How to execute a part of a (text)file?

So I'm looking for a command on Linux that would let me execute a file as binary, but skipping the first x bytes, so:

Asked by: Guest | Views: 306
Total answers/comments: 1
bert [Entry]

"this is probably the closest you will get:

dd if=container.txt of=executable bs=<bytes to skip> skip=1
chmod +x executable
./executable"