dot sh(.sh)转换为可执行文件 [英] dot sh ( .sh) to convert to a executable file
本文介绍了dot sh(.sh)转换为可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道如何将现有脚本转换为可执行格式(HEX格式)?
file.sh> file.exe - 像这样的东西。
谢谢..
BR,
coaxfiber
Is there anyone knows how to convert an existing script to a executable format (HEX form)?
file.sh > file.exe - something like this.
Thanks..
BR,
coaxfiber
推荐答案
有没有人知道如何将现有脚本转换为可执行格式(HEX格式)?
文件。 sh> file.exe - 像这样的东西。
谢谢..
BR,
coaxfiber
Is there anyone knows how to convert an existing script to a executable format (HEX form)?
file.sh > file.exe - something like this.
Thanks..
BR,
coaxfiber
嗨
给文件提供可执行权限,它是可执行的
Hi
Give executable permission to the file,it will be executable
chmod 755 file.sh
chmod 755 file.sh
我试过了。是否与chmod + x file.sh相同?所以它变得可执行。我的意思是,当你使用''cat file.sh''或'more file.sh''时,屏幕会显示为ASCII字符,而不是显示源代码。
再次感谢...
BR,
coaxfiber
I tried it. Is it same with chmod +x file.sh? So it becomes executable. What I mean is that when you will use , ''cat file.sh'' or ''more file.sh'' , the screen will give you as an ASCII characters instead of showing the source code.
Thanks again...
BR,
coaxfiber
这篇关于dot sh(.sh)转换为可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文