青龙运行shell Exec format error 作者: 时间: 2021-07-24 分类: 默认分类 You need a shebang line if the executable file cannot be run natively by the kernel. The kernel can only run machine code in a specific format (ELF on most Unix variants), or sometimes other formats (e.g. on Linux you can register executable formats through binfmt_misc). If the executable file needs an interpreter then the kernel needs to know which interpreter to call. That's what the shebang line is for. If your script is in fish syntax, its first line must be `#!/usr/bin/env fish` (You can use the absolute path instead, but then you'll have to modify the script if you want to run it on a machine where the fish executable is in a different location, e.g. /usr/bin/fish vs /usr/local/bin/fish.) If your script is in sh syntax, use `#!/bin/sh` (All modern Unix systems have a POSIX sh at /bin/sh so you don't need env.) If your script is in bash syntax (which is sh plus some bash-specific extensions), use `#!/usr/bin/env bash` On Linux, in practice, #!/bin/bash will also work. All of this is independent of which shell you're calling the script from. All that matters is what language the script is written in. >https://unix.stackexchange.com/questions/491419/fish-shell-exec-format-error 标签: none
博主真是太厉害了!!!
叼茂SEO.bfbikes.com
叼茂SEO.bfbikes.com
不错不错,我喜欢看 https://www.237fa.com/
想想你的文章写的特别好https://www.ea55.com/
想想你的文章写的特别好https://www.ea55.com/
《巧克力情人》剧情片高清在线免费观看:https://www.jgz518.com/xingkong/46565.html
《都市妖奇谈》国产剧高清在线免费观看:https://www.jgz518.com/xingkong/14804.html
文献引用规范,学术态度严谨,值得借鉴。
文字流畅如丝,语言优美动人,读来令人心旷神怡。
这篇文章不错!