3

It is as simple as the title says. I can easily execute it in windows with a .com file but how would i do it with Linux. Basically i want to write to a file in hex and then run it. On Linux.

  • Your question makes no sense to me. Are you trying to convert hex to rgb or something? – user508889 Jan 9 '17 at 16:52
  • @bc2946088 bruh – OverloadedCore Jan 10 '17 at 17:46
  • Glad you got your answer you're looking for. Referencing HEX in your question made me think of base16, and I wasn't sure what 'code' you were talking about. I understand now, you have a script you want to execute. I'm not sure the reference to hex in your question makes sense, but you marked an answer as complete, so all is good. – user508889 Jan 10 '17 at 20:20
  • @bc2946088 actually i did mean base16 but it seemed to work anyway – OverloadedCore Apr 7 '17 at 19:16
3
chmod +x your.hex.file

execute with

./your.hex.file
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.